org.picocontainer.gems.adapters
Class PoolException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.picocontainer.PicoException
                  extended byorg.picocontainer.PicoIntrospectionException
                      extended byorg.picocontainer.gems.adapters.PoolException
All Implemented Interfaces:
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

Constructor Summary
PoolException(String message)
          Construct a PoolException with an explaining message.
PoolException(String message, Throwable cause)
          Construct a PoolException with an explaining message and a originalting cause.
 
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
 

Constructor Detail

PoolException

public PoolException(String message,
                     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(String message)
Construct a PoolException with an explaining message.

Parameters:
message - the explaining message
Since:
1.2


Copyright © 2003-2007 Codehaus. All Rights Reserved.