IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.workarea
Class WorkAreaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.websphere.exception.DistributedException
              extended by com.ibm.websphere.workarea.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 Summary
WorkAreaException()
          Default constructor
WorkAreaException(java.lang.String s)
          Constructor with message
 
Method Summary
 
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


IBM WebSphere Application ServerTM
Release 7