|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.resource.ResourceException javax.resource.spi.ResourceAllocationException
A ResourceAllocationException can be thrown to indicate a failure to allocate system resources such as threads or physical connections.
Constructor Summary | |
ResourceAllocationException()
Create an exception. |
|
ResourceAllocationException(String reason)
Create an exception with a reason. |
|
ResourceAllocationException(String reason,
String errorCode)
Create an exception with a reason and an errorCode. |
|
ResourceAllocationException(String reason,
Throwable cause)
Create an exception with a reason and cause. |
|
ResourceAllocationException(Throwable cause)
Create an exception with a cause. |
Methods inherited from class javax.resource.ResourceException |
getErrorCode, getLinkedException, setErrorCode, setLinkedException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 ResourceAllocationException()
public ResourceAllocationException(String reason)
public ResourceAllocationException(String reason, String errorCode)
public ResourceAllocationException(String reason, Throwable cause)
reason
- the reasoncause
- the causepublic ResourceAllocationException(Throwable cause)
cause
- the cause
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |