Package org.apache.pdfbox.exceptions
Class SignatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.pdfbox.exceptions.SignatureException
- All Implemented Interfaces:
Serializable
An exception that indicates a problem during the signing process.
- Version:
- $Revision: $
- Author:
- Thomas Chojecki
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureException
(int errno, String msg) Constructor.SignatureException
(int errno, Throwable e) Constructor.SignatureException
(String msg) Constructor.Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
WRONG_PASSWORD
public static final int WRONG_PASSWORD- See Also:
-
UNSUPPORTED_OPERATION
public static final int UNSUPPORTED_OPERATION- See Also:
-
CERT_PATH_CHECK_INVALID
public static final int CERT_PATH_CHECK_INVALID- See Also:
-
NO_SUCH_ALGORITHM
public static final int NO_SUCH_ALGORITHM- See Also:
-
INVALID_PAGE_FOR_SIGNATURE
public static final int INVALID_PAGE_FOR_SIGNATURE- See Also:
-
VISUAL_SIGNATURE_INVALID
public static final int VISUAL_SIGNATURE_INVALID- See Also:
-
-
Constructor Details
-
SignatureException
Constructor.- Parameters:
msg
- A msg to go with this exception.
-
SignatureException
Constructor.- Parameters:
errno
- A error number to fulfill this exceptionmsg
- A msg to go with this exception.
-
SignatureException
Constructor.- Parameters:
e
- The exception that should be encapsulate.
-
SignatureException
Constructor.- Parameters:
errno
- A error number to fulfill this exceptione
- The exception that should be encapsulate.
-
-
Method Details
-
getErrNo
public int getErrNo()A error number to fulfill this exception- Returns:
- the error number if available, otherwise 0
-