Top Description Fields Constructors
jakarta.security.jacc

public Class PolicyContextException

extends Exception
Class Inheritance

This checked exception is thrown by implementations of the PolicyConfiguration Interface, the PolicyConfigurationFactory abstract class, the PolicyContext utility class, and implementations of the PolicyContextException Interface.

This exception is used by jakarta.security.jacc implementation classes to rethrow checked exceptions occurring within an implementation that are not declared by the interface or class being implemented.

Authors
Ron Monzillo, Gary Ellison
See Also
Exception, PolicyConfiguration, PolicyConfigurationFactory, PolicyContext, PolicyContextHandler

Field Summary

Modifier and TypeField and Description
private static final long

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

Constructs a new PolicyContextException with the specified detail message

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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

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 message)

Constructs a new PolicyContextException with the specified detail message

Parameters
message:String

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

PolicyContextExceptionback to summary
public PolicyContextException(String message, Throwable cause)

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

Parameters
message: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.