com.ibm.websphere.asynchbeans

Class WorkContextException

  • 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 WorkContextException
    extends WorkException
    This exception is thrown when there is a problem with the J2EE context associated with a Work. If it cannot be recreated or removed from a thread then this is thrown to indicate this.
    See Also:
    javax.enterprise.concurrent.ManagedExecutorService, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int BAD_POP
      Deprecated. 
       
      static int BAD_PUSH
      Deprecated. 
       
    • Constructor Summary

      Constructors 
      Constructor and Description
      WorkContextException()
      Deprecated. 
      Default Constructor
      WorkContextException(java.lang.String message)
      Deprecated. 
      Constructor with message.
      WorkContextException(java.lang.String serv, int typ)
      Deprecated. 
      This constructs the exception.
      WorkContextException(java.lang.String serv, int typ, java.lang.Throwable cause)
      Deprecated. 
      This constructs the exception.
      WorkContextException(java.lang.String message, java.lang.Throwable cause)
      Deprecated. 
      Constructor with message and cause
      WorkContextException(java.lang.Throwable cause)
      Deprecated. 
      Constructor with the cause
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getService()
      Deprecated. 
      This returns the name of the service causing the problem.
      int getType()
      Deprecated. 
      This returns whether the problem was pushing or popping the service.
      • 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

      • WorkContextException

        public WorkContextException()
        Deprecated. 
        Default Constructor
      • WorkContextException

        public WorkContextException(java.lang.String message)
        Deprecated. 
        Constructor with message.
        Parameters:
        message -
      • WorkContextException

        public WorkContextException(java.lang.Throwable cause)
        Deprecated. 
        Constructor with the cause
        Parameters:
        cause -
      • WorkContextException

        public WorkContextException(java.lang.String message,
                            java.lang.Throwable cause)
        Deprecated. 
        Constructor with message and cause
        Parameters:
        message -
        cause -
      • WorkContextException

        public WorkContextException(java.lang.String serv,
                            int typ)
        Deprecated. 
        This constructs the exception.
        Parameters:
        serv - The service with the problem.
        typ - BAD_PUSH or BAD_POP
      • WorkContextException

        public WorkContextException(java.lang.String serv,
                            int typ,
                            java.lang.Throwable cause)
        Deprecated. 
        This constructs the exception.
        Parameters:
        serv - The service with the problem.
        typ - BAD_PUSH or BAD_POP
        cause - the cause of the exception
    • Method Detail

      • getService

        public java.lang.String getService()
        Deprecated. 
        This returns the name of the service causing the problem.
      • getType

        public int getType()
        Deprecated. 
        This returns whether the problem was pushing or popping the service.
        Returns:
        BAD_PUSH or BAD_POP
IBM WebSphere Application ServerTM
Release 9.0