com.ibm.websphere.asynchbeans

Class WorkCompletedException

  • All Implemented Interfaces:
    com.ibm.ws.exception.WsNestedException, java.io.Serializable

    Deprecated. 
    Interfaces for work and work management are replaced by ManagedExecutorService and related interfaces.

    @Deprecated
    public class WorkCompletedException
    extends WorkException
    This exception indicates that a Work started but completed with an exception.
    See Also:
    javax.enterprise.concurrent.ManagedExecutorService, Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.List getExceptionList()
      Deprecated. 
      This allows a list of exceptions to be returned.
      boolean getRolledBack()
      Deprecated. 
      This returns true if a global tran was created and not commited because asynchronous element returned.
      void setRolledBack(boolean f)
      Deprecated. 
       
      • Methods inherited from class com.ibm.ws.exception.WsException

        getCause, initCause
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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()
        Deprecated. 
        See Also:
        Object.Object()
      • WorkCompletedException

        public WorkCompletedException(java.lang.String message)
        Deprecated. 
        See Also:
        Throwable.Throwable(String)
      • WorkCompletedException

        public WorkCompletedException(java.lang.Throwable cause)
        Deprecated. 
        See Also:
        WsException.WsException(Throwable)
      • WorkCompletedException

        public WorkCompletedException(java.lang.String message,
                              java.lang.Throwable cause)
        Deprecated. 
        See Also:
        WsException.WsException(String, Throwable)
      • WorkCompletedException

        public WorkCompletedException(java.lang.String message,
                              java.util.List list)
        Deprecated. 
        Method WorkCompletedException.
        Parameters:
        message -
        list -
    • Method Detail

      • getExceptionList

        public java.util.List getExceptionList()
        Deprecated. 
        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.
      • setRolledBack

        public void setRolledBack(boolean f)
        Deprecated. 
      • getRolledBack

        public boolean getRolledBack()
        Deprecated. 
        This returns true if a global tran was created and not commited because asynchronous element returned. Such a uncommitted global transaction will be rolled back. A user created global transaction must be completed by the user.
        Returns:
        True if the system rolled back the transaction.
IBM WebSphere Application ServerTM
Release 9.0