|
||||||||||
| 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.resource.ResourceException
javax.resource.spi.SecurityException
public class SecurityException
A SecurityException indicates error conditions related to the security contract between an application server and a resource adapter. Common types of conditions represented by this exception include: invalid security information - subject, failure to connect, failure to authenticate, access control exception.
| Constructor Summary | |
|---|---|
SecurityException()
Create an exception. |
|
SecurityException(String reason)
Create an exception with a reason. |
|
SecurityException(String reason,
String errorCode)
Create an exception with a reason and an errorCode. |
|
SecurityException(String reason,
Throwable cause)
Create an exception with a reason and cause. |
|
SecurityException(Throwable cause)
Create an exception with a cause. |
|
| Method Summary |
|---|
| Methods inherited from class javax.resource.ResourceException |
|---|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, 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 SecurityException()
public SecurityException(String reason)
public SecurityException(String reason,
String errorCode)
public SecurityException(String reason,
Throwable cause)
reason - the reasoncause - the causepublic SecurityException(Throwable cause)
cause - the cause
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||