public class NXCPException extends Exception
Modifier and Type | Field and Description |
---|---|
static int |
DECRYPTION_ERROR |
static int |
MESSAGE_TOO_LARGE |
static int |
NO_CIPHER |
static int |
SESSION_CLOSED |
Constructor and Description |
---|
NXCPException(int errorCode) |
NXCPException(int errorCode,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int MESSAGE_TOO_LARGE
public static final int SESSION_CLOSED
public static final int NO_CIPHER
public static final int DECRYPTION_ERROR
public NXCPException(int errorCode)
errorCode
- public NXCPException(int errorCode, Throwable cause)
errorCode
- public int getErrorCode()
public String getMessage()
getMessage
in class Throwable
Copyright © 2015. All rights reserved.