Class PolicyContextException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.security.jacc.PolicyContextException
-
- All Implemented Interfaces:
java.io.Serializable
public class PolicyContextException extends java.lang.ExceptionThis checked exception is thrown by implementations of the
javax.security.jacc.PolicyConfigurationinterface, thejavax.security.jacc.PolicyConfigurationFactoryabstract class, thejavax.security.jacc.PolicyContextutility class, and implementations of thejavax.security.jacc.PolicyContextExceptioninterface.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description PolicyContextException()Constructs a new PolicyContextException with null as its detail message.PolicyContextException(java.lang.String msg)Constructs a newPolicyContextExceptionwith the specified detail message.PolicyContextException(java.lang.String msg, java.lang.Throwable cause)Constructs a newPolicyContextExceptionwith the specified detail message and cause.PolicyContextException(java.lang.Throwable cause)Constructs a newPolicyContextExceptionwith the specified cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PolicyContextException
public PolicyContextException()
Constructs a new PolicyContextException with null as its detail message. describing the cause of the exception.
-
PolicyContextException
public PolicyContextException(java.lang.String msg)
Constructs a new
PolicyContextExceptionwith the specified detail message.- Parameters:
msg- - aStringcontaining a detail message describing the cause of the exception.
-
PolicyContextException
public PolicyContextException(java.lang.String msg, java.lang.Throwable cause)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
public PolicyContextException(java.lang.Throwable cause)
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.
-
-