Top Description Constructors
javax.security.jacc

public Class PolicyContextException

extends Exception
Class Inheritance

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 rethrow checked exceptions ocurring within an implementation that are not declared by the interface or class being implemented.

Authors
Ron Monzillo, Gary Ellison
See Also
java.lang.Exception, javax.security.jacc.PolicyConfiguration, javax.security.jacc.PolicyConfigurationFactory, javax.security.jacc.PolicyContext, javax.security.jacc.PolicyContextHandler

Constructor Summary

AccessConstructor and Description
public
PolicyContextException()

Constructs a new PolicyContextException with null as its detail message.

public
PolicyContextException(String
- a String containing a detail message describing the cause of the exception.
msg
)

Constructs a new PolicyContextException with the specified detail message

public
PolicyContextException(String
- a String containing a detail message describing the cause of the exception.
msg
,
Throwable
- 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.
cause
)

Constructs a new PolicyContextException with the specified detail message and cause.

public
PolicyContextException(Throwable
- 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.
cause
)

Constructs a new PolicyContextException with the specified cause.

Constructor Detail

PolicyContextExceptionback to summary
public PolicyContextException()

Constructs a new PolicyContextException with null as its detail message. describing the cause of the exception.

PolicyContextExceptionback to summary
public PolicyContextException(String msg)

Constructs a new PolicyContextException with the specified detail message

Parameters
msg:String

- a String containing a detail message describing the cause of the exception.

PolicyContextExceptionback to summary
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.

Parameters
msg:String

- a String containing a detail message describing the cause of the exception.

cause:Throwable

- 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.

PolicyContextExceptionback to summary
public PolicyContextException(Throwable cause)

Constructs a new PolicyContextException with the specified cause. The cause will be encapsulated in the constructed exception.

Parameters
cause:Throwable

- 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.