com.ibm.as400.access

Class ProxyException

    • Field Detail

      • CONNECTION_NOT_ESTABLISHED

        public static final int CONNECTION_NOT_ESTABLISHED
        The return code indicating that a connection to the proxy server cannot be established.
        See Also:
        Constant Field Values
      • CONNECTION_DROPPED

        public static final int CONNECTION_DROPPED
        The return code indicating that a connection to the proxy server was dropped. If the connection is via HTTP tunneling this return code indicates the client tried to use a session that was previously cleaned up by the system. The system cleaned up the session because it was idle long enough to indicate the client is no longer active. If the client was still active increase the timeout property so the system waits longer before cleaning up sessions.
        See Also:
        Constant Field Values
      • CONNECTION_REJECTED

        public static final int CONNECTION_REJECTED
        The return code indicating that a connection to the proxy server was rejected.
        See Also:
        Constant Field Values
      • VERSION_MISMATCH

        public static final int VERSION_MISMATCH
        The return code indicating that communication failed to the proxy server because of a mismatch between code levels. This usually occurs if the client and proxy server are running with different versions of the IBM Toolbox for Java or different versions of the JVM.
        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.