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 |
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 |
int |
getReturnCode()
Returns the return code associated with this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CONNECTION_NOT_ESTABLISHED
public static final int CONNECTION_NOT_ESTABLISHED
- The return code indicating that a connection to the proxy server
cannot be established.
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 server.
The server 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 server
waits longer before cleaning up sessions.
CONNECTION_REJECTED
public static final int CONNECTION_REJECTED
- The return code indicating that a connection to the proxy server
was rejected.
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 AS/400 Toolbox for Java or different versions
of the JVM.
getReturnCode
public int getReturnCode()
- Returns the return code associated with this exception.
- Specified by:
getReturnCode
in interface ReturnCodeException
- Returns:
- The return code.