|
|||||||||
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)
|
|
EncryptionServiceException(java.lang.String message)
|
|
EncryptionServiceException(java.lang.String message,
int errorCode)
|
|
EncryptionServiceException(java.lang.String message,
int errorCode,
java.lang.Throwable cause)
|
|
EncryptionServiceException(java.lang.String message,
java.lang.Object[] params)
|
|
EncryptionServiceException(java.lang.String message,
java.lang.Object[] params,
int errorCode)
|
|
EncryptionServiceException(java.lang.String message,
java.lang.Object[] params,
int errorCode,
java.lang.Throwable cause)
|
|
EncryptionServiceException(java.lang.String message,
java.lang.Object[] params,
java.lang.Throwable cause)
|
|
EncryptionServiceException(java.lang.String message,
java.lang.Throwable cause)
|
Method Summary | |
---|---|
int |
getErrorCode()
Retrieves the error code for the exception. |
java.lang.String |
getInitCauseStackTrace()
Returns the cause stack trace from the Encryption service. |
static java.lang.String |
makeErrorMessage(java.lang.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(java.io.PrintStream s)
Prints the StackTrace onto the input PrintStream. |
void |
printStackTrace(java.io.PrintWriter w)
Prints the StackTrace onto the input PrintWriter. |
void |
setInitCauseStackTrace(java.lang.String initCauseStackTrace)
Sets the stack trace value. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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)
public EncryptionServiceException(java.lang.String message, int errorCode)
public EncryptionServiceException(java.lang.String message, int errorCode, java.lang.Throwable cause)
public EncryptionServiceException(java.lang.String message, java.lang.Object[] params, int errorCode)
public EncryptionServiceException(java.lang.String message, java.lang.Object[] params, int errorCode, java.lang.Throwable cause)
public EncryptionServiceException(java.lang.String message)
public EncryptionServiceException(java.lang.String message, java.lang.Throwable cause)
public EncryptionServiceException(java.lang.String message, java.lang.Object[] params)
public EncryptionServiceException(java.lang.String message, java.lang.Object[] params, java.lang.Throwable cause)
Method Detail |
---|
public static java.lang.String makeErrorMessage(java.lang.String message, int errorCode)
message
- The detail message.errorCode
- The error code.
public int getErrorCode()
public java.lang.String getInitCauseStackTrace()
public void setInitCauseStackTrace(java.lang.String initCauseStackTrace)
initCauseStackTrace
- A string value that represents the stack trace.public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter w)
printStackTrace
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |