|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pajes.db.ConnectionPoolException
public class ConnectionPoolException
Thrown when a run-time exception relating to a ConnectionPool occurs.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_PARSE_ERROR
Message key for when a ConnectionPoolConfiguration finds an
unmatched XML tag. |
static java.lang.String |
DUPLICATE_POOL_NAME
Message key for when a ConnectionPool is being defined with a
name that is already in use. |
static java.lang.String |
MISSING_POOL
Message key for when a ConnectionPool is requested that does not
exist. |
static java.lang.String |
NOT_OWNER
Message key for when an attempt is made to use a Connection
that has already been released back to the free pool. |
static java.lang.String |
NULL_CONNECTION_RETURNED_BY_DRIVER
Message key for when an attempt is made to create a Connection but the Driver returns a null. |
static java.lang.String |
RELEASE_FAILED
Message key for when an attempt to release a Connection
fails. |
static java.lang.String |
TIME_OUT
Message key for when a request for a Connection is unable
to be satisfied within the ConnectionPool time-out period. |
| Constructor Summary | |
|---|---|
ConnectionPoolException(java.lang.String messageKey)
Creates a new exception, using the specified message key to locate the actual message to be displayed. |
|
ConnectionPoolException(java.lang.String messageKey,
java.lang.String[] arguments)
Creates a new exception, using the specified message key to locate the actual message to be displayed. |
|
| Method Summary |
|---|
| 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 |
| Field Detail |
|---|
public static final java.lang.String CONFIG_PARSE_ERROR
ConnectionPoolConfiguration finds an
unmatched XML tag.
public static final java.lang.String DUPLICATE_POOL_NAME
ConnectionPool is being defined with a
name that is already in use.
public static final java.lang.String MISSING_POOL
ConnectionPool is requested that does not
exist.
public static final java.lang.String NOT_OWNER
Connection
that has already been released back to the free pool.
public static final java.lang.String NULL_CONNECTION_RETURNED_BY_DRIVER
Connection but the Driver returns a null.
public static final java.lang.String RELEASE_FAILED
Connection
fails.
public static final java.lang.String TIME_OUT
Connection is unable
to be satisfied within the ConnectionPool time-out period.
| Constructor Detail |
|---|
public ConnectionPoolException(java.lang.String messageKey)
messageKey - the key from which the actual exception message will be
located.
public ConnectionPoolException(java.lang.String messageKey,
java.lang.String[] arguments)
messageKey - the key from which the actual exception message will be
located.arguments - any arguments to be passed to create the complete message.
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||