|
JACC 1.4 API 1.0.0.Final | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.security.jacc.PolicyContextException
public class PolicyContextException
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.
Exception}, {@link PolicyConfiguration}, {@link PolicyConfigurationFactory}, {@link PolicyContext},
{@link PolicyContextHandler}
,
Serialized FormConstructor Summary | |
---|---|
PolicyContextException()
Constructs a new PolicyContextException with null as its detail message. |
|
PolicyContextException(String msg)
Constructs a new PolicyContextException with the specified detail message. |
|
PolicyContextException(String msg,
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 |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolicyContextException()
Constructs a new PolicyContextException with null as its detail message. describing the cause of the exception.
public PolicyContextException(String msg)
Constructs a new PolicyContextException
with the specified detail message.
msg
- - a String
containing a detail message describing the cause of the exception.public PolicyContextException(String msg, Throwable cause)
Constructs a new PolicyContextException
with the specified detail message and cause. The cause will be
encapsulated in the constructed exception.
msg
- - a String
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 calling getCause()
on the constructed exception.public PolicyContextException(Throwable cause)
Constructs a new PolicyContextException
with the specified cause. The cause will be encapsulated in the
constructed 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 calling getCause()
on the constructed exception.
|
JACC 1.4 API 1.0.0.Final | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |