java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.security.jacc.PolicyContextException
- All Implemented Interfaces:
Serializable
This checked exception is thrown by implementations of the
PolicyConfiguration
Interface, the PolicyConfigurationFactory
abstract class, the
PolicyContext
utility class, and implementations of the
PolicyContextException
Interface.
This exception is used by jakarta.security.jacc implementation classes to rethrow checked exceptions occurring within an implementation that are not declared by the interface or class being implemented.
- Author:
- Ron Monzillo, Gary Ellison
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new PolicyContextException withnull
as its detail message.PolicyContextException
(String message) Constructs a new PolicyContextException with the specified detail messagePolicyContextException
(String message, Throwable cause) Constructs a new PolicyContextException with the specified detail message and cause.PolicyContextException
(Throwable cause) Constructs a new PolicyContextException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PolicyContextException
public PolicyContextException()Constructs a new PolicyContextException withnull
as its detail message. describing the cause of the exception. -
PolicyContextException
Constructs a new PolicyContextException with the specified detail message- Parameters:
message
- - aString
containing a detail message describing the cause of the exception.
-
PolicyContextException
Constructs a new PolicyContextException with the specified detail message and cause. The cause will be encapsulated in the constructed exception.- Parameters:
message
- - AString
containing a detail message describing the cause of the exception.cause
- - The Throwable that is "causing" this exception to be constructed. A null value is permitted, and the value passed through this parameter may subsequently be retrieved by callinggetCause()
on the constructed exception.
-
PolicyContextException
Constructs a new PolicyContextException with the specified cause. The cause will be encapsulated in the constructed exception.- Parameters:
cause
- - the Throwable that is "causing" this exception to be constructed. A null value is permitted, and the value passed through this parameter may subsequently be retrieved by callinggetCause()
on the constructed exception.
-