|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception forward.client.ClientForwardException
public class ClientForwardException
This is the implementation for exceptions with extended information about forwarding errors.
Field Summary | |
---|---|
static int |
ERROR_CONNECTION_ERROR
This describes a connection error, like connection closed while reading or serious connection errors. |
static int |
ERROR_PROTOCOL_ERROR
This describes a protocol error, like invalid signatures or invalid message length information. |
static int |
ERROR_UNKNOWN_ERROR
This describes an unknown exception. |
static int |
ERROR_VERSION_ERROR
This describes a protocol version error. |
private int |
m_errorCode
This stores the reason of this exception. |
Constructor Summary | |
---|---|
ClientForwardException(int a_errorCode,
java.lang.String a_message)
This creates a new ClientForwardException. |
Method Summary | |
---|---|
int |
getErrorCode()
Returns the error code with the reason for 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 |
---|
public static final int ERROR_CONNECTION_ERROR
public static final int ERROR_PROTOCOL_ERROR
public static final int ERROR_VERSION_ERROR
public static final int ERROR_UNKNOWN_ERROR
private int m_errorCode
Constructor Detail |
---|
public ClientForwardException(int a_errorCode, java.lang.String a_message)
a_errorCode
- A code describing the reason for this exception. Look at the constants
in this class.a_message
- Additional information about this exception. Look at the constructor of the
Exception class for more information.Method Detail |
---|
public int getErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |