javax.resource.spi.work

Class WorkException

Known Direct Subclasses:
WorkCompletedException, WorkRejectedException

public class WorkException
extends ResourceException

Field Summary

static String
INTERNAL
static String
START_TIMED_OUT
static String
TX_CONCURRENT_WORK_DISALLOWED
static String
TX_RECREATE_FAILED
static String
UNDEFINED

Constructor Summary

WorkException()
WorkException(String message)
WorkException(String message, String errorCode)
WorkException(String message, Throwable cause)
WorkException(Throwable cause)

Method Summary

String
getMessage()

Methods inherited from class javax.resource.ResourceException

getErrorCode, getLinkedException, setErrorCode, setLinkedException, toString

Field Details

INTERNAL

public static final String INTERNAL

START_TIMED_OUT

public static final String START_TIMED_OUT

TX_CONCURRENT_WORK_DISALLOWED

public static final String TX_CONCURRENT_WORK_DISALLOWED

TX_RECREATE_FAILED

public static final String TX_RECREATE_FAILED

UNDEFINED

public static final String UNDEFINED

Constructor Details

WorkException

public WorkException()

WorkException

public WorkException(String message)

WorkException

public WorkException(String message,
                     String errorCode)

WorkException

public WorkException(String message,
                     Throwable cause)

WorkException

public WorkException(Throwable cause)

Method Details

getMessage

public String getMessage()