public class WorkCompletedException extends WorkException
INTERNAL, START_TIMED_OUT, TX_CONCURRENT_WORK_DISALLOWED, TX_RECREATE_FAILED, UNDEFINED
Constructor and Description |
---|
WorkCompletedException()
Create an exception.
|
WorkCompletedException(String reason)
Create an exception with a reason.
|
WorkCompletedException(String reason,
String errorCode)
Create an exception with a reason and an errorCode.
|
WorkCompletedException(String reason,
Throwable throwable)
Create an exception with a reason and an error.
|
WorkCompletedException(Throwable throwable)
Create an exception with an error.
|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WorkCompletedException()
public WorkCompletedException(String reason)
reason
- the reasonpublic WorkCompletedException(String reason, String errorCode)
reason
- the reasonerrorCode
- the error codepublic WorkCompletedException(String reason, Throwable throwable)
reason
- the reasonthrowable
- the errorpublic WorkCompletedException(Throwable throwable)
throwable
- the errorCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.