com.ibm.as400.access
Class ConnectionPoolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.as400.access.ConnectionPoolException
All Implemented Interfaces:
Serializable

public class ConnectionPoolException
extends 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
 Exception getException()
          Returns the original exception.
 int getReturnCode()
          Returns the return code.
 
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

CONFLICTING_POOL_SIZES

public static final int CONFLICTING_POOL_SIZES
The return code indicating that the minimum and maximum pool sizes conflict.

See Also:
Constant Field Values

MAX_CONNECTIONS_REACHED

public static final int MAX_CONNECTIONS_REACHED
The return code indicating that max connection limit has been reached.

See Also:
Constant Field Values
Method Detail

getException

public Exception getException()
Returns the original exception.

Returns:
The exception.

getReturnCode

public int getReturnCode()
Returns the return code.

Returns:
The return code.