Package javax.security.jacc
Class PolicyContextException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.security.jacc.PolicyContextException
-
public class PolicyContextException extends java.lang.Exception
This checked exception is thrown by implementations of thejavax.security.jacc.PolicyConfiguration
Interface, thejavax.security.jacc.PolicyConfigurationFactory
abstract class, thejavax.security.jacc.PolicyContext
utility class, and implementations of thejavax.security.jacc.PolicyContextException
Interface.This exception is used by javax.security.jacc implementation classes to rethrow checked exceptions ocurring within an implementation that are not declared by the interface or class being implemented.
- See Also:
Exception
,PolicyConfiguration
,PolicyConfigurationFactory
,PolicyContext
,PolicyContextHandler
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyContextException()
Constructs a new PolicyContextException withnull
as its detail message.PolicyContextException(java.lang.String msg)
Constructs a new PolicyContextException with the specified detail messagePolicyContextException(java.lang.String msg, java.lang.Throwable cause)
Constructs a new PolicyContextException with the specified detail message and cause.PolicyContextException(java.lang.Throwable cause)
Constructs a new PolicyContextException with the specified cause.
-
-
-
Constructor Detail
-
PolicyContextException
public PolicyContextException()
Constructs a new PolicyContextException withnull
as its detail message. describing the cause of the exception.
-
PolicyContextException
public PolicyContextException(java.lang.String msg)
Constructs a new PolicyContextException with the specified detail message- Parameters:
msg
- - aString
containing a detail message describing the cause of the exception.
-
PolicyContextException
public PolicyContextException(java.lang.String msg, java.lang.Throwable cause)
Constructs a new PolicyContextException with the specified detail message and cause. The cause will be encapsulated in the constructed exception.- Parameters:
msg
- - 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
public PolicyContextException(java.lang.Throwable cause)
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.
-
-