com.ibm.websphere.workarea
Class NotInScope

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.websphere.exception.DistributedException
              extended bycom.ibm.websphere.workarea.WorkAreaException
                  extended bycom.ibm.websphere.workarea.NotInScope
All Implemented Interfaces:
com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable

public class NotInScope
extends WorkAreaException

A NotInScope exception is thrown by the remove method on the UserWorkArea interface. This exception indicates that a remove operation is invoked within a WorkArea which does not contain the specified property; however, a parent scope does. For example: userWorkArea.begin("parent"); userWorkArea.set("key", "value"); userWorkArea.begin("child"); userWorkArea.remove("key"); will throw a NotInScope exception at the remove; in order to remove the key "key", the child WorkArea must first be completed.

Version:
1.0
See Also:
Serialized Form

Constructor Summary
NotInScope()
           
NotInScope(java.lang.String s)
           
 
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

NotInScope

public NotInScope()

NotInScope

public NotInScope(java.lang.String s)