Package org.apache.pdfbox.exceptions
Class SignatureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.pdfbox.exceptions.SignatureException
-
- All Implemented Interfaces:
java.io.Serializable
public class SignatureException extends java.lang.Exception
An exception that indicates a problem during the signing process.- Version:
- $Revision: $
- Author:
- Thomas Chojecki
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CERT_PATH_CHECK_INVALID
static int
INVALID_PAGE_FOR_SIGNATURE
static int
NO_SUCH_ALGORITHM
static int
UNSUPPORTED_OPERATION
static int
VISUAL_SIGNATURE_INVALID
static int
WRONG_PASSWORD
-
Constructor Summary
Constructors Constructor Description SignatureException(int errno, java.lang.String msg)
Constructor.SignatureException(int errno, java.lang.Throwable e)
Constructor.SignatureException(java.lang.String msg)
Constructor.SignatureException(java.lang.Throwable e)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrNo()
A error number to fulfill this exception
-
-
-
Field Detail
-
WRONG_PASSWORD
public static final int WRONG_PASSWORD
- See Also:
- Constant Field Values
-
UNSUPPORTED_OPERATION
public static final int UNSUPPORTED_OPERATION
- See Also:
- Constant Field Values
-
CERT_PATH_CHECK_INVALID
public static final int CERT_PATH_CHECK_INVALID
- See Also:
- Constant Field Values
-
NO_SUCH_ALGORITHM
public static final int NO_SUCH_ALGORITHM
- See Also:
- Constant Field Values
-
INVALID_PAGE_FOR_SIGNATURE
public static final int INVALID_PAGE_FOR_SIGNATURE
- See Also:
- Constant Field Values
-
VISUAL_SIGNATURE_INVALID
public static final int VISUAL_SIGNATURE_INVALID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SignatureException
public SignatureException(java.lang.String msg)
Constructor.- Parameters:
msg
- A msg to go with this exception.
-
SignatureException
public SignatureException(int errno, java.lang.String msg)
Constructor.- Parameters:
errno
- A error number to fulfill this exceptionmsg
- A msg to go with this exception.
-
SignatureException
public SignatureException(java.lang.Throwable e)
Constructor.- Parameters:
e
- The exception that should be encapsulate.
-
SignatureException
public SignatureException(int errno, java.lang.Throwable e)
Constructor.- Parameters:
errno
- A error number to fulfill this exceptione
- The exception that should be encapsulate.
-
-