|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.pcube.apps.engage.ConnectionFailedException
public class ConnectionFailedException
An exception thrown when connecting to the SE device fails. The exception has an error type which reveals the reason the error occured.
| Field Summary | |
|---|---|
static byte |
GENERAL_CONNECTION_ERROR
Connection to the SE failed due to a general error. |
static byte |
ILLEGAL_PASSWORD_CONNECTION_ERROR
Connection to the SE failed due to an erroneous password. |
static byte |
INCOMPATIBLE_VERSIONS_ERROR
client and server versions are incompatible |
static byte |
INVALID_USERNAME_PASSWORD_ERROR
username password is unauthenticated |
static byte |
SERVER_CONNECTION_ERROR
Connection to the SE failed due to failure in the Server's side. |
| Constructor Summary | |
|---|---|
ConnectionFailedException()
ConnectionFailedException Constructor. |
|
ConnectionFailedException(java.lang.String msg)
ConnectionFailedException Constructor. |
|
ConnectionFailedException(java.lang.String msg,
byte errorType)
ConnectionFailedException Constructor. |
|
| Method Summary | |
|---|---|
byte |
getErrorType()
Gets this exception's error type. |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte GENERAL_CONNECTION_ERROR
public static final byte SERVER_CONNECTION_ERROR
public static final byte ILLEGAL_PASSWORD_CONNECTION_ERROR
public static final byte INCOMPATIBLE_VERSIONS_ERROR
public static final byte INVALID_USERNAME_PASSWORD_ERROR
| Constructor Detail |
|---|
public ConnectionFailedException()
public ConnectionFailedException(java.lang.String msg)
msg - this exception's error message
public ConnectionFailedException(java.lang.String msg,
byte errorType)
msg - this exception's error messageerrorType - this exceptions typeGENERAL_CONNECTION_ERROR,
SERVER_CONNECTION_ERROR,
ILLEGAL_PASSWORD_CONNECTION_ERROR| Method Detail |
|---|
public byte getErrorType()
GENERAL_CONNECTION_ERROR,
SERVER_CONNECTION_ERROR,
ILLEGAL_PASSWORD_CONNECTION_ERROR
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||