com.ibm.portal.pool.exceptions
Class ObjectPoolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.pool.exceptions.ObjectPoolException
All Implemented Interfaces:
Localized, java.io.Serializable
Direct Known Subclasses:
ObjectInstantiationException

public abstract class ObjectPoolException
extends java.lang.Exception
implements Localized

Basic exception modeling errors occuring in object pools.

Since:
6.1.0.1
See Also:
Serialized Form

Field Summary
protected  ObjectPool pool
          Object pool that generated the exception.
 
Constructor Summary
ObjectPoolException(ObjectPool aPool)
          Initializes this exception with the object pool in which the error occurred.
ObjectPoolException(ObjectPool aPool, java.lang.Exception aReason)
          Initializes this exception with the object pool in which the error occurred.
 
Method Summary
 ObjectPool getPool()
           
 
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
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Field Detail

pool

protected final ObjectPool pool
Object pool that generated the exception.

Constructor Detail

ObjectPoolException

public ObjectPoolException(ObjectPool aPool)
Initializes this exception with the object pool in which the error occurred.

Parameters:
aPool - Object pool that generated the exception.

ObjectPoolException

public ObjectPoolException(ObjectPool aPool,
                           java.lang.Exception aReason)
Initializes this exception with the object pool in which the error occurred.

Parameters:
aPool - Object pool that generated the exception.
aReason - The reason for the exception.
Method Detail

getPool

public ObjectPool getPool()
Returns:
Object pool that caused the exception