com.ibm.websphere.workarea

Class WorkAreaException

  • All Implemented Interfaces:
    DistributedExceptionEnabled, java.io.Serializable
    Direct Known Subclasses:
    NotOriginator, NoWorkArea, PropertyFixed, PropertyReadOnly


    public class WorkAreaException
    extends DistributedException
    The base exception class for the WorkArea exceptions. A user may choose to catch each of the WorkArea exceptions as in the following:
         try {
           userWorkArea.complete();
         }
         catch (NoWorkArea e) {  ...  }
         catch (NotOriginator e) {  ...  }
         catch (Exception e) (  ...  }
     

    Alternatively, if the appropriate response to a WorkArea exception condition is dependent upon the exact nature of the exception, the following may be employed:
         try {
           userWorkArea.complete();
         }
         catch (WorkAreaException e) {  ... }
         catch (Exception e) {  ...  }
     

    See Also:
    Serialized Form
    • Constructor Detail

      • WorkAreaException

        public WorkAreaException()
        Default constructor
      • WorkAreaException

        public WorkAreaException(java.lang.String s)
        Constructor with message
IBM WebSphere Application ServerTM
Release 9.0