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:
Serializable
Direct Known Subclasses:
WorkCompletedException, WorkRejectedException

public class WorkException
extends ResourceException

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
See Also:
Serialized Form

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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INTERNAL

public static final String INTERNAL
See Also:
Constant Field Values

UNDEFINED

public static final String UNDEFINED
See Also:
Constant Field Values

START_TIMED_OUT

public static final String START_TIMED_OUT
See Also:
Constant Field Values

TX_CONCURRENT_WORK_DISALLOWED

public static final String TX_CONCURRENT_WORK_DISALLOWED
See Also:
Constant Field Values

TX_RECREATE_FAILED

public static final String TX_RECREATE_FAILED
See Also:
Constant Field Values
Constructor Detail

WorkException

public WorkException()

WorkException

public WorkException(String message)

WorkException

public WorkException(Throwable cause)

WorkException

public WorkException(String message,
                     Throwable cause)

WorkException

public WorkException(String message,
                     String errorCode)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2006 Apache Software Foundation. All Rights Reserved.