allocate a new object, but the allocation
fails by returning `null` or throwing an exception.
* Likewise if the Reallocator#reallocate(Slot, Poolable) method
return `null` or throw an exception.
* If the Slot#release(Poolable) method is misused, and the pool is
able to detect this.
* If the expiration check throws an
exception.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | PoolException(String
A description of the exception to be returned from
message)getMessage().Construct a new PoolException with the given message. |
| public | PoolException(String
A description for the exception to be returned form
message, Throwable getMessage().The underlying cause of this exception, as to be shown in the
stack trace, and available through cause)getCause().Construct a new PoolException with the given message and cause. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| PoolException | back to summary |
|---|---|
| public PoolException(String message) Construct a new PoolException with the given message.
| |
| PoolException | back to summary |
|---|---|
| public PoolException(String message, Throwable cause) Construct a new PoolException with the given message and cause.
| |