com.ibm.as400.access

Class ConnectionDroppedException

    • Field Detail

      • COMMUNICATIONS_ERROR

        public static final int COMMUNICATIONS_ERROR
        The return code indicating that an error occurred in communications.
        See Also:
        Constant Field Values
      • CONNECTION_DROPPED

        public static final int CONNECTION_DROPPED
        The return code indicating that the connection was dropped unexpectedly.
        See Also:
        Constant Field Values
      • CONNECTION_NOT_ACTIVE

        public static final int CONNECTION_NOT_ACTIVE
        The return code indicating that the connection is not active.
        See Also:
        Constant Field Values
      • DISCONNECT_RECEIVED

        public static final int DISCONNECT_RECEIVED
        The return code indicating that disconnect was received.
        See Also:
        Constant Field Values

    • Method Detail

      • getReturnCode

        public int getReturnCode()
        Returns the return code associated with this exception.
        Specified by:
        getReturnCode in interface ReturnCodeException
        Returns:
        The return code.