com.ibm.websphere.workarea
Class WorkAreaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.websphere.exception.DistributedException
-
- 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
Constructors Constructor and Description WorkAreaException()
Default constructorWorkAreaException(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
-
-