Package com.tom_roush.pdfbox.exceptions
Class SignatureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.tom_roush.pdfbox.exceptions.SignatureException
-
- All Implemented Interfaces:
Serializable
public class SignatureException extends Exception
An exception that indicates a problem during the signing process.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCERT_PATH_CHECK_INVALIDstatic intINVALID_PAGE_FOR_SIGNATUREstatic intNO_SUCH_ALGORITHMstatic intUNSUPPORTED_OPERATIONstatic intVISUAL_SIGNATURE_INVALIDstatic intWRONG_PASSWORD
-
Constructor Summary
Constructors Constructor Description SignatureException(int errno, String msg)Constructor.SignatureException(int errno, Throwable e)Constructor.SignatureException(String msg)Constructor.SignatureException(Throwable e)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrNo()A error number to fulfill this exception-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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(String msg)
Constructor.- Parameters:
msg- A msg to go with this exception.
-
SignatureException
public SignatureException(int errno, String msg)Constructor.- Parameters:
errno- A error number to fulfill this exceptionmsg- A msg to go with this exception.
-
SignatureException
public SignatureException(Throwable e)
Constructor.- Parameters:
e- The exception that should be encapsulate.
-
SignatureException
public SignatureException(int errno, Throwable e)Constructor.- Parameters:
errno- A error number to fulfill this exceptione- The exception that should be encapsulate.
-
-