org.picocontainer.gems.adapters
Class PoolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.picocontainer.PicoException
                  extended by org.picocontainer.PicoIntrospectionException
                      extended by org.picocontainer.gems.adapters.PoolException
All Implemented Interfaces:
java.io.Serializable

public class PoolException
extends org.picocontainer.PicoIntrospectionException

Exception thrown from the PoolingComponentAdapter. Only thrown if the interaction with the internal pool fails.

Since:
1.2
Author:
Jörg Schaible
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
PoolException(java.lang.String message)
          Construct a PoolException with an explaining message.
PoolException(java.lang.String message, java.lang.Throwable cause)
          Construct a PoolException with an explaining message and a originalting cause.
 
Method Summary
 
Methods inherited from class org.picocontainer.PicoException
getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

PoolException

public PoolException(java.lang.String message,
                     java.lang.Throwable cause)
Construct a PoolException with an explaining message and a originalting cause.

Parameters:
message - the explaining message
cause - the originating cause
Since:
1.2

PoolException

public PoolException(java.lang.String message)
Construct a PoolException with an explaining message.

Parameters:
message - the explaining message
Since:
1.2