Top Description Constructors Methods
jakarta.resource.spi

public Class SecurityException

extends ResourceException
Class Inheritance

A SecurityException indicates error conditions related to the security contract between an application server and resource adapter. The common error conditions represented by this exception are:
Authors
Rahul Sharma, Ram Jeyaraman
Version
1.0

Constructor Summary

AccessConstructor and Description
public
SecurityException()

Constructs a new instance with null as its detail message.

public
SecurityException(String
the detail message.
message
)

Constructs a new instance with the specified detail message.

public
SecurityException(Throwable
a chained exception of type Throwable.
cause
)

Constructs a new throwable with the specified cause.

public
SecurityException(String
the detail message.
message
,
Throwable
a chained exception of type Throwable.
cause
)

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

public
SecurityException(String
a description of the exception.
message
,
String
a string specifying the vendor specific error code.
errorCode
)

Constructs a new throwable with the specified detail message and an error code.

Method Summary

Inherited from jakarta.resource.ResourceException:
getErrorCodegetLinkedExceptiongetMessagesetErrorCodesetLinkedException

Constructor Detail

SecurityExceptionback to summary
public SecurityException()

Constructs a new instance with null as its detail message.

SecurityExceptionback to summary
public SecurityException(String message)

Constructs a new instance with the specified detail message.

Parameters
message:String

the detail message.

SecurityExceptionback to summary
public SecurityException(Throwable cause)

Constructs a new throwable with the specified cause.

Parameters
cause:Throwable

a chained exception of type Throwable.

SecurityExceptionback to summary
public SecurityException(String message, Throwable cause)

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

Parameters
message:String

the detail message.

cause:Throwable

a chained exception of type Throwable.

SecurityExceptionback to summary
public SecurityException(String message, String errorCode)

Constructs a new throwable with the specified detail message and an error code.

Parameters
message:String

a description of the exception.

errorCode:String

a string specifying the vendor specific error code.