javax.resource.spi.work
Class WorkCompletedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException (src) 
              extended byjavax.resource.spi.work.WorkException (src) 
                  extended byjavax.resource.spi.work.WorkCompletedException
All Implemented Interfaces:
java.io.Serializable

public class WorkCompletedException
extends WorkException (src)

An error thrown when work is completed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.resource.spi.work.WorkException (src)
INTERNAL, START_TIMED_OUT, TX_CONCURRENT_WORK_DISALLOWED, TX_RECREATE_FAILED, UNDEFINED
 
Constructor Summary
WorkCompletedException()
          Create an exception.
WorkCompletedException(java.lang.String reason)
          Create an exception with a reason.
WorkCompletedException(java.lang.String reason, java.lang.String errorCode)
          Create an exception with a reason and an errorCode.
WorkCompletedException(java.lang.String reason, java.lang.Throwable throwable)
          Create an exception with a reason and an error.
WorkCompletedException(java.lang.Throwable throwable)
          Create an exception with an error.
 
Methods inherited from class javax.resource.ResourceException (src)
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkCompletedException

public WorkCompletedException()
Create an exception.


WorkCompletedException

public WorkCompletedException(java.lang.String reason)
Create an exception with a reason.

Parameters:
reason - the reason

WorkCompletedException

public WorkCompletedException(java.lang.String reason,
                              java.lang.String errorCode)
Create an exception with a reason and an errorCode.

Parameters:
reason - the reason
errorCode - the error code

WorkCompletedException

public WorkCompletedException(java.lang.String reason,
                              java.lang.Throwable throwable)
Create an exception with a reason and an error.

Parameters:
reason - the reason
throwable - the error

WorkCompletedException

public WorkCompletedException(java.lang.Throwable throwable)
Create an exception with an error.

Parameters:
throwable - the error