javax.resource.spi.work
Class WorkCompletedException

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
                  extended by javax.resource.spi.work.WorkCompletedException
All Implemented Interfaces:
Serializable

public class WorkCompletedException
extends WorkException

An error thrown when work is completed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.resource.spi.work.WorkException
INTERNAL, START_TIMED_OUT, TX_CONCURRENT_WORK_DISALLOWED, TX_RECREATE_FAILED, UNDEFINED
 
Constructor Summary
WorkCompletedException()
          Create an exception.
WorkCompletedException(String reason)
          Create an exception with a reason.
WorkCompletedException(String reason, String errorCode)
          Create an exception with a reason and an errorCode.
WorkCompletedException(String reason, Throwable throwable)
          Create an exception with a reason and an error.
WorkCompletedException(Throwable throwable)
          Create an exception with an error.
 
Method Summary
 
Methods inherited from class javax.resource.ResourceException
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(String reason)
Create an exception with a reason.

Parameters:
reason - the reason

WorkCompletedException

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

Parameters:
reason - the reason
errorCode - the error code

WorkCompletedException

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

Parameters:
reason - the reason
throwable - the error

WorkCompletedException

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

Parameters:
throwable - the error


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.