Package net.handle.hdllib
Class HandleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.handle.hdllib.HandleException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TrustException
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionHandleException
(int code) HandleException
(int code, String message) HandleException
(int code, String message, Throwable throwable) HandleException
(int code, Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
static final String
getCodeStr
(int c) static HandleException
ofResponse
(AbstractResponse response) static ErrorResponse
toErrorResponse
(AbstractRequest req, Exception e) toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
INVALID_VALUE
public static final int INVALID_VALUE- See Also:
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR- See Also:
-
SERVICE_NOT_FOUND
public static final int SERVICE_NOT_FOUND- See Also:
-
NO_ACCEPTABLE_INTERFACES
public static final int NO_ACCEPTABLE_INTERFACES- See Also:
-
UNKNOWN_PROTOCOL
public static final int UNKNOWN_PROTOCOL- See Also:
-
HANDLE_ALREADY_EXISTS
public static final int HANDLE_ALREADY_EXISTS- See Also:
-
MESSAGE_FORMAT_ERROR
public static final int MESSAGE_FORMAT_ERROR- See Also:
-
CANNOT_CONNECT_TO_SERVER
public static final int CANNOT_CONNECT_TO_SERVER- See Also:
-
UNABLE_TO_AUTHENTICATE
public static final int UNABLE_TO_AUTHENTICATE- See Also:
-
HANDLE_DOES_NOT_EXIST
public static final int HANDLE_DOES_NOT_EXIST- See Also:
-
SECURITY_ALERT
public static final int SECURITY_ALERT- See Also:
-
CONFIGURATION_ERROR
public static final int CONFIGURATION_ERROR- See Also:
-
REPLICATION_ERROR
public static final int REPLICATION_ERROR- See Also:
-
MISSING_OR_INVALID_SIGNATURE
public static final int MISSING_OR_INVALID_SIGNATURE- See Also:
-
MISSING_CRYPTO_PROVIDER
public static final int MISSING_CRYPTO_PROVIDER- See Also:
-
SERVER_ERROR
public static final int SERVER_ERROR- See Also:
-
UNKNOWN_ALGORITHM_ID
public static final int UNKNOWN_ALGORITHM_ID- See Also:
-
GOT_EXPIRED_MESSAGE
public static final int GOT_EXPIRED_MESSAGE- See Also:
-
STORAGE_RDONLY
public static final int STORAGE_RDONLY- See Also:
-
UNABLE_TO_SIGN_REQUEST
public static final int UNABLE_TO_SIGN_REQUEST- See Also:
-
INVALID_SESSION_EXCHANGE_PRIVKEY
public static final int INVALID_SESSION_EXCHANGE_PRIVKEY- See Also:
-
NEED_RSAKEY_FOR_SESSIONEXCHANGE
public static final int NEED_RSAKEY_FOR_SESSIONEXCHANGE- See Also:
-
NEED_PUBLICKEY_FOR_SESSIONIDENTITY
public static final int NEED_PUBLICKEY_FOR_SESSIONIDENTITY- See Also:
-
SESSION_TIMEOUT
public static final int SESSION_TIMEOUT- See Also:
-
INCOMPLETE_SESSIONSETUP
public static final int INCOMPLETE_SESSIONSETUP- See Also:
-
SERVER_CANNOT_PROCESS_SESSION
public static final int SERVER_CANNOT_PROCESS_SESSION- See Also:
-
ENCRYPTION_ERROR
public static final int ENCRYPTION_ERROR- See Also:
-
OTHER_CONNECTION_ESTABLISHED
public static final int OTHER_CONNECTION_ESTABLISHED- See Also:
-
DUPLICATE_SESSION_COUNTER
public static final int DUPLICATE_SESSION_COUNTER- See Also:
-
SERVICE_REFERRAL_ERROR
public static final int SERVICE_REFERRAL_ERROR- See Also:
-
OTHER_CONNECTION_ESTABLISHED_STRING
- See Also:
-
-
Constructor Details
-
HandleException
public HandleException(int code) -
HandleException
-
HandleException
-
HandleException
-
-
Method Details