com.ibm.websphere.workarea
Class PropertyReadOnly
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.websphere.exception.DistributedException
com.ibm.websphere.workarea.WorkAreaException
com.ibm.websphere.workarea.PropertyReadOnly
- All Implemented Interfaces:
- DistributedExceptionEnabled, java.io.Serializable
public class PropertyReadOnly
- extends WorkAreaException
A PropertyReadOnly exception indicates that an attempt was made to override
or overwrite a property that was set as read_only. For example, the following
will throw a PropertyReadOnly exception:
userWorkArea.begin("parent");
userWorkArea.set("key", "value", PropertyModeType.read_only);
userWorkArea.set("key", "value");
Likewise, the following sequence of operations is not permitted:
userWorkArea.begin("parent");
userWorkArea.set("key", "value", PropertyModeType.read_only);
userWorkArea.begin("child");
userWorkArea.set("key", "value");
- Version:
- 1.0
- See Also:
- Serialized Form
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 |
PropertyReadOnly
public PropertyReadOnly()
PropertyReadOnly
public PropertyReadOnly(java.lang.String s)