org.apache.pdfbox.exceptions
public class SignatureException extends java.lang.Exception
Modifier and Type | Field and 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 and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrNo()
A error number to fulfill this exception
|
public static final int WRONG_PASSWORD
public static final int UNSUPPORTED_OPERATION
public static final int CERT_PATH_CHECK_INVALID
public static final int NO_SUCH_ALGORITHM
public static final int INVALID_PAGE_FOR_SIGNATURE
public static final int VISUAL_SIGNATURE_INVALID
public SignatureException(java.lang.String msg)
msg
- A msg to go with this exception.public SignatureException(int errno, java.lang.String msg)
errno
- A error number to fulfill this exceptionmsg
- A msg to go with this exception.public SignatureException(java.lang.Throwable e)
e
- The exception that should be encapsulate.public SignatureException(int errno, java.lang.Throwable e)
errno
- A error number to fulfill this exceptione
- The exception that should be encapsulate.