com.ibm.websphere.workarea

Class WorkAreaException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.websphere.exception.DistributedException
  5. extended bycom.ibm.websphere.workarea.WorkAreaException
All implemented interfaces:
DistributedExceptionEnabled, java.io.Serializable
Direct known subclasses:
NotOriginator, NoWorkArea, PropertyFixed, PropertyReadOnly

  1. public class WorkAreaException
  2. 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

Constructor and Description
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

  1. public WorkAreaException()
Default constructor

WorkAreaException

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