public class NedException extends Exception
Modifier and Type | Field and Description |
---|---|
static int |
AUTH_ERROR
Deprecated.
Use
NedErrorCode.CONNECT_CONNECTION_REFUSED or some
other suitable NED error code instead. |
Constructor and Description |
---|
NedException(int id,
String msg)
Deprecated.
Use the constructor
NedException(NedErrorCode, String)
instead |
NedException(NedErrorCode aCode,
String msg) |
NedException(NedErrorCode aCode,
String msg,
Throwable cause) |
NedException(String msg)
Deprecated.
Use the constructor
NedException(NedErrorCode, String)
instead with code set to the appropriate enum in
NedErrorCode |
NedException(String msg,
Throwable cause)
Deprecated.
Use the constructor
NedException(NedErrorCode, String,
Throwable)
instead with code set to the appropriate enum in
NedErrorCode |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Deprecated.
Use the method
NedException.getNedErrorCode()
instead. |
NedErrorCode |
getNedErrorCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int AUTH_ERROR
NedErrorCode.CONNECT_CONNECTION_REFUSED
or some
other suitable NED error code instead.public NedException(NedErrorCode aCode, String msg)
public NedException(NedErrorCode aCode, String msg, Throwable cause)
public NedException(int id, String msg)
NedException(NedErrorCode, String)
insteadpublic NedException(String msg)
NedException(NedErrorCode, String)
instead with code set to the appropriate enum in
NedErrorCode
public NedException(String msg, Throwable cause)
NedException(NedErrorCode, String,
Throwable)
instead with code set to the appropriate enum in
NedErrorCode
public NedErrorCode getNedErrorCode()
public int getErrorCode()
NedException.getNedErrorCode()
instead.