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:
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 addcatch
clauses for specific subclass exceptions such as this one.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PDFSecurityAuthorizationException(String message)
Create a new PDFSecurityAuthorizationException.PDFSecurityAuthorizationException(String message, Throwable cause)
Create a new PDFSecurityAuthorizationException wrapping an existing exception.PDFSecurityAuthorizationException(Throwable cause)
Create a new PDFSecurityAuthorizationException wrapping an existing exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PDFSecurityAuthorizationException
public PDFSecurityAuthorizationException(String message)
Create a new PDFSecurityAuthorizationException.- Parameters:
message
- the detail message.
-
PDFSecurityAuthorizationException
public PDFSecurityAuthorizationException(String message, Throwable cause)
Create a new PDFSecurityAuthorizationException wrapping an existing exception.- Parameters:
message
- the detail message.cause
- the cause.
-
PDFSecurityAuthorizationException
public PDFSecurityAuthorizationException(Throwable cause)
Create a new PDFSecurityAuthorizationException wrapping an existing exception.- Parameters:
cause
- the cause.
-
-