public class SecurityException extends ResourceException
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:
Constructor and Description |
---|
SecurityException()
Constructs a new instance with null as its detail message.
|
SecurityException(java.lang.String message)
Constructs a new instance with the specified detail message.
|
SecurityException(java.lang.String message,
java.lang.String errorCode)
Constructs a new throwable with the specified detail message and
an error code.
|
SecurityException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
SecurityException(java.lang.Throwable cause)
Constructs a new throwable with the specified cause.
|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
public SecurityException()
public SecurityException(java.lang.String message)
message
- the detail message.public SecurityException(java.lang.Throwable cause)
cause
- a chained exception of type Throwable
.public SecurityException(java.lang.String message, java.lang.Throwable cause)
message
- the detail message.cause
- a chained exception of type Throwable
.public SecurityException(java.lang.String message, java.lang.String errorCode)
message
- a description of the exception.errorCode
- a string specifying the vendor specific error code.