Class PDFSecurityAuthorizationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.adobe.internal.pdftoolkit.core.exceptions.PDFException
-
- com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityException
-
- com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException
-
- All Implemented Interfaces:
java.io.Serializable
public class PDFSecurityAuthorizationException extends PDFSecurityException
This exception indicates that a request has failed due not being able to get authorization for the request or one of the actions required by that request from theSecurityHandler. While the Adobe PDF Java Toolkit may only declare that they throw a PDFSecurityException in their method declaration that exception may be one of the descendant exceptions such as this one. If a client wishes to know more about the reason for failure they can addcatchclauses for specific subclass exceptions such as this one.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PDFSecurityAuthorizationException(java.lang.String message)Create a new PDFSecurityAuthorizationException.PDFSecurityAuthorizationException(java.lang.String message, java.lang.Throwable cause)Create a new PDFSecurityAuthorizationException wrapping an existing exception.PDFSecurityAuthorizationException(java.lang.Throwable cause)Create a new PDFSecurityAuthorizationException wrapping an existing exception.
-
-
-
Constructor Detail
-
PDFSecurityAuthorizationException
public PDFSecurityAuthorizationException(java.lang.String message)
Create a new PDFSecurityAuthorizationException.- Parameters:
message- the detail message.
-
PDFSecurityAuthorizationException
public PDFSecurityAuthorizationException(java.lang.String message, java.lang.Throwable cause)Create a new PDFSecurityAuthorizationException wrapping an existing exception.- Parameters:
message- the detail message.cause- the cause.
-
PDFSecurityAuthorizationException
public PDFSecurityAuthorizationException(java.lang.Throwable cause)
Create a new PDFSecurityAuthorizationException wrapping an existing exception.- Parameters:
cause- the cause.
-
-