public class ClientForwardException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
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.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ClientForwardException(int a_errorCode,
java.lang.String a_message)
This creates a new ClientForwardException.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code with the reason for this exception.
|
private static final long serialVersionUID
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
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.Copyright © 2023. All rights reserved.