public class WorkRejectedException extends WorkException
INTERNAL, START_TIMED_OUT, TX_CONCURRENT_WORK_DISALLOWED, TX_RECREATE_FAILED, UNDEFINED| Constructor and Description |
|---|
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.
|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 errorCopyright © 2012 JBoss by Red Hat. All Rights Reserved.