BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


commonj.work
Class WorkCompletedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycommonj.work.WorkException
              extended bycommonj.work.WorkCompletedException
All Implemented Interfaces:
Serializable

public class WorkCompletedException
extends WorkException

This exception indicates that a Work started but completed with an exception.

Since:
1.0
See Also:
Serialized Form
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
WorkCompletedException()
          Constructor for a WorkCompletedException
WorkCompletedException(String message)
          Constructor for a WorkCompletedException
WorkCompletedException(String message, List list)
          Constructor for a WorkCompletedException
WorkCompletedException(String message, Throwable cause)
          Constructor for a WorkCompletedException
WorkCompletedException(Throwable cause)
          Constructor for a WorkCompletedException
 
Method Summary
 List getExceptionList()
          This allows a list of exceptions to be returned.
 
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
 

Constructor Detail

WorkCompletedException

public WorkCompletedException()
Constructor for a WorkCompletedException

Since:
1.0

WorkCompletedException

public WorkCompletedException(String message)
Constructor for a WorkCompletedException

Since:
1.0

WorkCompletedException

public WorkCompletedException(String message,
                              List list)
Constructor for a WorkCompletedException

Since:
1.0

WorkCompletedException

public WorkCompletedException(String message,
                              Throwable cause)
Constructor for a WorkCompletedException

Since:
1.0

WorkCompletedException

public WorkCompletedException(Throwable cause)
Constructor for a WorkCompletedException

Since:
1.0
Method Detail

getExceptionList

public List getExceptionList()
This allows a list of exceptions to be returned. When the Work fails to complete because of an exception then the list has a single entry and this is the same as if getCause was called.

Returns:
The list of null is no exception is present.
Since:
1.0

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.