javax.resource.spi.work
Class WorkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.resource.ResourceException
              extended by javax.resource.spi.work.WorkException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WorkCompletedException, WorkRejectedException

public class WorkException
extends ResourceException

An exception for an unavailable service.

See Also:
Serialized Form

Field Summary
static java.lang.String INTERNAL
           
static java.lang.String START_TIMED_OUT
           
static java.lang.String TX_CONCURRENT_WORK_DISALLOWED
           
static java.lang.String TX_RECREATE_FAILED
           
static java.lang.String UNDEFINED
           
 
Constructor Summary
WorkException()
           
WorkException(java.lang.String msg)
           
WorkException(java.lang.String msg, java.lang.String errorCode)
           
WorkException(java.lang.String msg, java.lang.Throwable cause)
           
WorkException(java.lang.Throwable cause)
           
 
Method Summary
 
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
 

Field Detail

INTERNAL

public static final java.lang.String INTERNAL
See Also:
Constant Field Values

START_TIMED_OUT

public static final java.lang.String START_TIMED_OUT
See Also:
Constant Field Values

TX_CONCURRENT_WORK_DISALLOWED

public static final java.lang.String TX_CONCURRENT_WORK_DISALLOWED
See Also:
Constant Field Values

TX_RECREATE_FAILED

public static final java.lang.String TX_RECREATE_FAILED
See Also:
Constant Field Values

UNDEFINED

public static final java.lang.String UNDEFINED
See Also:
Constant Field Values
Constructor Detail

WorkException

public WorkException()

WorkException

public WorkException(java.lang.String msg)

WorkException

public WorkException(java.lang.String msg,
                     java.lang.Throwable cause)

WorkException

public WorkException(java.lang.String msg,
                     java.lang.String errorCode)

WorkException

public WorkException(java.lang.Throwable cause)