Work processing related exceptions.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | INTERNAL
Indicates an internal error condition. |
| public static final String | START_TIMED_OUT
Indicates start timeout expiration. |
| public static final String | TX_CONCURRENT_WORK_DISALLOWED
Indicates that concurrent work within a transaction is disallowed. |
| public static final String | TX_RECREATE_FAILED
Indicates a failure in recreating the specified transaction context. |
| public static final String | UNDEFINED
Undefined error code. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | WorkException(String
the detail message. message)Constructs a new instance with the specified detail message. |
| public | WorkException(Throwable
a chained exception of type
cause)Throwable.Constructs a new throwable with the specified cause. |
| public | WorkException(String
the detail message. message, Throwable a chained exception of type
cause)Throwable.Constructs a new throwable with the specified detail message and cause. |
| public | WorkException(String
a description of the exception. message, String a string specifying the vendor specific error code. errorCode)Constructs a new throwable with the specified detail message and an error code. |
| INTERNAL | back to summary |
|---|---|
| public static final String INTERNAL Indicates an internal error condition. | |
| START_TIMED_OUT | back to summary |
|---|---|
| public static final String START_TIMED_OUT Indicates start timeout expiration. | |
| TX_CONCURRENT_WORK_DISALLOWED | back to summary |
|---|---|
| public static final String TX_CONCURRENT_WORK_DISALLOWED Indicates that concurrent work within a transaction is
disallowed. That is, there is already another | |
| TX_RECREATE_FAILED | back to summary |
|---|---|
| public static final String TX_RECREATE_FAILED Indicates a failure in recreating the specified transaction context. | |
| UNDEFINED | back to summary |
|---|---|
| public static final String UNDEFINED Undefined error code. | |
| WorkException | back to summary |
|---|---|
| public WorkException() Constructs a new instance with null as its detail message. | |
| WorkException | back to summary |
|---|---|
| public WorkException(String message) Constructs a new instance with the specified detail message.
| |
| WorkException | back to summary |
|---|---|
| public WorkException(Throwable cause) Constructs a new throwable with the specified cause.
| |
| WorkException | back to summary |
|---|---|
| public WorkException(String message, Throwable cause) Constructs a new throwable with the specified detail message and cause. | |
| WorkException | back to summary |
|---|---|
| public WorkException(String message, String errorCode) Constructs a new throwable with the specified detail message and an error code. | |