net.csdn.modules.thrift.pool
Class NoValidObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.csdn.modules.thrift.pool.NoValidObjectException
All Implemented Interfaces:
Serializable

public class NoValidObjectException
extends Exception

This exception will be thrown when the pool cannot create a new instance by PoolableObjectFactory.createObject(K) or there are no valid instances which used to be tested by PoolableObjectFactory.validateObject(K, V)

Author:
Bongjae Chang
See Also:
Serialized Form

Constructor Summary
NoValidObjectException()
           
NoValidObjectException(String message)
           
NoValidObjectException(String message, Throwable cause)
           
NoValidObjectException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoValidObjectException

public NoValidObjectException()

NoValidObjectException

public NoValidObjectException(String message)

NoValidObjectException

public NoValidObjectException(String message,
                              Throwable cause)

NoValidObjectException

public NoValidObjectException(Throwable cause)


Copyright © 2014. All Rights Reserved.