com.ibm.as400.access
Class ConnectionPoolException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.as400.access.ConnectionPoolException
- All Implemented Interfaces:
- java.io.Serializable
- public class ConnectionPoolException
- extends java.lang.Exception
The ConnectionPoolException class represents an exception
which indicates that a problem occurred with the connection pool.
- See Also:
- Serialized Form
Field Summary |
static int |
CONFLICTING_POOL_SIZES
The return code indicating that the minimum and maximum pool sizes conflict. |
static int |
MAX_CONNECTIONS_REACHED
The return code indicating that max connection limit has been reached. |
Method Summary |
java.lang.Exception |
getException()
Returns the original exception. |
int |
getReturnCode()
Returns the return code. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CONFLICTING_POOL_SIZES
public static final int CONFLICTING_POOL_SIZES
- The return code indicating that the minimum and maximum pool sizes conflict.
MAX_CONNECTIONS_REACHED
public static final int MAX_CONNECTIONS_REACHED
- The return code indicating that max connection limit has been reached.
getException
public java.lang.Exception getException()
- Returns the original exception.
- Returns:
- The exception.
getReturnCode
public int getReturnCode()
- Returns the return code.
- Returns:
- The return code.