com.ibm.as400.access

Class ProxyException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.ibm.as400.access.ProxyException
  • All Implemented Interfaces:
    ReturnCodeException, java.io.Serializable


    public class ProxyException
    extends java.lang.RuntimeException
    implements ReturnCodeException
    The ProxyException class represents an exception that indicates an error occurred while communicating with the proxy server.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int CONNECTION_DROPPED
      The return code indicating that a connection to the proxy server was dropped.
      static int CONNECTION_NOT_ESTABLISHED
      The return code indicating that a connection to the proxy server cannot be established.
      static int CONNECTION_REJECTED
      The return code indicating that a connection to the proxy server was rejected.
      static int VERSION_MISMATCH
      The return code indicating that communication failed to the proxy server because of a mismatch between code levels.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getReturnCode()
      Returns the return code associated with this exception.
      • 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

      • 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.