com.ibm.websphere.workarea
Class WorkAreaException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.websphere.exception.DistributedException
              extended bycom.ibm.websphere.workarea.WorkAreaException
All Implemented Interfaces:
com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable
Direct Known Subclasses:
NotInScope, NotOriginator, NoWorkArea, PropertyFixed, PropertyReadOnly

public class WorkAreaException
extends com.ibm.websphere.exception.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 Summary
WorkAreaException()
          Default constructor
WorkAreaException(java.lang.String s)
          Constructor with message
 
Methods inherited from class com.ibm.websphere.exception.DistributedException
getException, getExceptionInfo, getMessage, getOriginalException, getPreviousException, printStackTrace, printStackTrace, printStackTrace, printSuperStackTrace, printSuperStackTrace, setDefaultMessage, setLocalizationInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkAreaException

public WorkAreaException()
Default constructor


WorkAreaException

public WorkAreaException(java.lang.String s)
Constructor with message