|
|||||||||||
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.work.WorkException javax.resource.spi.work.WorkRejectedException
Thrown when a work is rejected.
Field Summary |
Fields inherited from class javax.resource.spi.work.WorkException |
INTERNAL, START_TIMED_OUT, TX_CONCURRENT_WORK_DISALLOWED, TX_RECREATE_FAILED, UNDEFINED |
Constructor Summary | |
WorkRejectedException()
Create an exception. |
|
WorkRejectedException(String reason)
Create an exception with a reason. |
|
WorkRejectedException(String reason,
String errorCode)
Create an exception with a reason and an errorCode. |
|
WorkRejectedException(String reason,
Throwable throwable)
Create an exception with a reason and an error. |
|
WorkRejectedException(Throwable throwable)
Create an exception with an error. |
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 WorkRejectedException()
public WorkRejectedException(String reason)
reason
- the reasonpublic WorkRejectedException(String reason, String errorCode)
reason
- the reasonerrorCode
- the error codepublic WorkRejectedException(String reason, Throwable throwable)
reason
- the reasonthrowable
- the errorpublic WorkRejectedException(Throwable throwable)
throwable
- the error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |