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

      Fields 
      Modifier and Type Field and Description
      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

      Methods 
      Modifier and Type Method and Description
      java.lang.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 java.lang.Exception getException()
        Returns the original exception.
        Returns:
        The exception.
      • getReturnCode

        public int getReturnCode()
        Returns the return code.
        Returns:
        The return code.