public class CryptshareServerException extends CryptshareException
| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_ACTIVATION_CODE_INCORRECT
The code that has been provided to activate QUICK is incorrect.
|
static int |
CODE_ACTIVATION_CODE_RESET
The pending personal key activation process has been reset because of too many failed attempts.
|
static int |
CODE_ACTIVATION_REQUIRED
This request can't be performed.
|
static int |
CODE_HTTP_ERROR
The Cryptshare Server did not respond with HTTP OK (200).
|
static int |
CODE_INVALID_DATA
The parameter data is not valid.
|
static int |
CODE_MAIL_ERROR
The Cryptshare Server was unable to send/load the requested email.
|
static int |
CODE_MALFORMED_RESPONSE
The operation resulted in an unexpected response from the Cryptshare Server.
|
static int |
CODE_MISSING_PARAMETER
A required parameter is missing for the web service request.
|
static int |
CODE_NO_PENDING_ACTIVATION
There is no pending QUICK activation.
|
static int |
CODE_NO_SESSION
The specified session could not be found.
|
static int |
CODE_NOT_AUTHORIZED
The client is not authorized to perform this request.
|
static int |
CODE_NOT_LICENSED
The requesting product is not licensed.
|
static int |
CODE_NOT_QUICK_ENABLED
The user does not have QUICK access with the requesting client.
|
static int |
CODE_NOT_VERIFIED
An operation has been requested that requires verification, the requesting client/user is not verified.
|
static int |
CODE_PROCESSING_ERROR
A file processing error occurred.
|
static int |
CODE_SERVER_ERROR
The Cryptshare Server reported an error.
|
static int |
CODE_WRONG_USE
The Cryptshare Server API is used incorrectly.
|
| Constructor and Description |
|---|
CryptshareServerException(java.lang.Exception innerException)
Constructor
|
CryptshareServerException(int code,
java.lang.String message)
Constructor
|
CryptshareServerException(int code,
java.lang.String message,
java.lang.Exception innerException)
Constructor
|
getCodepublic static final int CODE_NOT_LICENSED
public static final int CODE_WRONG_USE
public static final int CODE_MISSING_PARAMETER
public static final int CODE_INVALID_DATA
public static final int CODE_NOT_VERIFIED
public static final int CODE_NOT_QUICK_ENABLED
public static final int CODE_ACTIVATION_REQUIRED
public static final int CODE_NO_PENDING_ACTIVATION
public static final int CODE_ACTIVATION_CODE_INCORRECT
public static final int CODE_ACTIVATION_CODE_RESET
public static final int CODE_NOT_AUTHORIZED
public static final int CODE_SERVER_ERROR
public static final int CODE_MAIL_ERROR
public static final int CODE_NO_SESSION
public static final int CODE_PROCESSING_ERROR
public static final int CODE_MALFORMED_RESPONSE
public static final int CODE_HTTP_ERROR
public CryptshareServerException(java.lang.Exception innerException)
innerException - innerExceptionpublic CryptshareServerException(int code,
java.lang.String message)
code - The error code, see CryptshareException members.message - An additional description.public CryptshareServerException(int code,
java.lang.String message,
java.lang.Exception innerException)
code - The error code, see CryptshareException members.message - An additional description.innerException - The cause of the exception.