|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.adobe.livecycle.encryption.client.EncryptionServiceException
public class EncryptionServiceException
Represents the base class for exceptions thrown by the Encryption service.
Field Summary | |
---|---|
static int |
E_BAD_PDF_ENCRYPTION
Indicates that an invalid encrypted PDF document was specified. |
static int |
E_BAD_PERMNISSION
A constant that indicates that an invalid permission value was specified. |
static int |
E_CERTIFICATE_NOT_PRESENT
A constant that indicates that the certificate required for encrypting the document was not found |
static int |
E_COMPAT
Indicates that a bad compatability level was specified. |
static int |
E_ENC_OPT
Indicates that a invalid encryption option was specified. |
static int |
E_ENCRYPTED
Indicates that a PDF document was already encrypted. |
static int |
E_ENCRYPTION_FAILED
A constant that indicates that the encryption operation failed. |
static int |
E_ERR
Represents a generic error. |
static int |
E_INCORRECT_CERTIFICATE
A constant that indicates that the certificate is not fit to be used for encryption |
static int |
E_INCORRECT_CREDENTIAL
A constant that indicates that the credential being used for decrypting the document is not fit for decryption |
static int |
E_INSUFF_PRIV
|
static int |
E_NOT_ENCRYPTED
Indicates that a PDF document is not encrypted. |
static int |
E_NOT_FIPS_COMPLIANT
A constant that indicates that the algorithm being used for encryption is not FIPS compliant |
static int |
E_OPERATION_FAILED
Indicates that the current operation failed. |
static int |
E_RE
A constant that indicates that the Input Document was Reader Extended |
static int |
E_SIGNATURE
A constant that indicates that the document is already signed. |
static int |
E_TODO
A constant that indicates. |
static int |
E_WRONG_PERMISSIONS
Indicates that a wrong permission value was specified. |
Constructor Summary | |
---|---|
EncryptionServiceException(int errorCode)
Constructs a new exception with a given error code. |
|
EncryptionServiceException(String message)
|
|
EncryptionServiceException(String message,
int errorCode)
Constructs a new exception with a given message and error code. |
|
EncryptionServiceException(String message,
int errorCode,
Throwable cause)
|
|
EncryptionServiceException(String message,
Object[] params)
|
|
EncryptionServiceException(String message,
Object[] params,
int errorCode)
|
|
EncryptionServiceException(String message,
Object[] params,
int errorCode,
Throwable cause)
|
|
EncryptionServiceException(String message,
Object[] params,
Throwable cause)
|
|
EncryptionServiceException(String message,
Throwable cause)
|
Method Summary | |
---|---|
int |
getErrorCode()
Retrieves the error code for the exception. |
String |
getInitCauseStackTrace()
Returns the cause stack trace from the Encryption service. |
String |
getMessage()
Returns an error messge. |
static String |
makeErrorMessage(String message,
int errorCode)
Creates an error message with a given message and error code. |
void |
printStackTrace()
Prints the StackTrace on System.err. |
void |
printStackTrace(PrintStream s)
Prints the StackTrace onto the input PrintStream. |
void |
printStackTrace(PrintWriter w)
Prints the StackTrace onto the input PrintWriter. |
void |
setInitCauseStackTrace(String initCauseStackTrace)
Sets the stack trace value. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int E_ERR
public static final int E_OPERATION_FAILED
public static final int E_TODO
public static final int E_COMPAT
public static final int E_ENC_OPT
public static final int E_ENCRYPTED
public static final int E_NOT_ENCRYPTED
public static final int E_WRONG_PERMISSIONS
public static final int E_BAD_PDF_ENCRYPTION
public static final int E_ENCRYPTION_FAILED
public static final int E_BAD_PERMNISSION
public static final int E_SIGNATURE
public static final int E_CERTIFICATE_NOT_PRESENT
public static final int E_NOT_FIPS_COMPLIANT
public static final int E_INCORRECT_CERTIFICATE
public static final int E_INCORRECT_CREDENTIAL
public static final int E_RE
public static final int E_INSUFF_PRIV
Constructor Detail |
---|
public EncryptionServiceException(int errorCode)
errorCode
- The error code.public EncryptionServiceException(String message, int errorCode)
message
- The detail message.public EncryptionServiceException(String message, int errorCode, Throwable cause)
public EncryptionServiceException(String message, Object[] params, int errorCode)
public EncryptionServiceException(String message, Object[] params, int errorCode, Throwable cause)
public EncryptionServiceException(String message)
public EncryptionServiceException(String message, Throwable cause)
public EncryptionServiceException(String message, Object[] params)
public EncryptionServiceException(String message, Object[] params, Throwable cause)
Method Detail |
---|
public static String makeErrorMessage(String message, int errorCode)
message
- The detail message.errorCode
- The error code.
public int getErrorCode()
public String getInitCauseStackTrace()
public void setInitCauseStackTrace(String initCauseStackTrace)
initCauseStackTrace
- A string value that represents the stack trace.public String getMessage()
getMessage
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter w)
printStackTrace
in class Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |