com.ibm.portal.pool.exceptions
Class ObjectPoolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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. |
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 |
pool
protected final ObjectPool pool
- Object pool that generated the exception.
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.
getPool
public ObjectPool getPool()
- Returns:
- Object pool that caused the exception