Class PolicyContextException
- All Implemented Interfaces:
Serializable
This checked exception is thrown by implementations of the javax.security.jacc.PolicyConfiguration interface,
the javax.security.jacc.PolicyConfigurationFactory abstract class, the
javax.security.jacc.PolicyContext utility class, and implementations of the
javax.security.jacc.PolicyContextException interface.
This exception is used by javax.security.jacc implementation classes to re-throw checked exceptions occurring within an implementation that are not declared by the interface or class being implemented.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new PolicyContextException with null as its detail message.Constructs a newPolicyContextExceptionwith the specified detail message.PolicyContextException(String msg, Throwable cause) Constructs a newPolicyContextExceptionwith the specified detail message and cause.PolicyContextException(Throwable cause) Constructs a newPolicyContextExceptionwith 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
PolicyContextException
public PolicyContextException()Constructs a new PolicyContextException with null as its detail message. describing the cause of the exception.
-
PolicyContextException
Constructs a new
PolicyContextExceptionwith the specified detail message.- Parameters:
msg- - aStringcontaining a detail message describing the cause of the exception.
-
PolicyContextException
Constructs a new
PolicyContextExceptionwith the specified detail message and cause. The cause will be encapsulated in the constructed exception.- Parameters:
msg- - aStringcontaining a detail message describing the cause of the exception.cause- - theThrowablethat 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
PolicyContextExceptionwith the specified cause. The cause will be encapsulated in the constructed exception.- Parameters:
cause- - theThrowablethat 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.
-