wt.pom
Class ObjectIsStaleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
wt.pom.PersistenceException
wt.pom.ObjectIsStaleException
- All Implemented Interfaces:
- LocalizableMessage, Message, Serializable
- public class ObjectIsStaleException
- extends PersistenceException
ObjectIsStaleException captures errors with a datastore interaction.
It occurs when an update or delete of an objected is attempted, but cannot
be completed because its updatecount is not current, i.e. another process has
updated the object.
Supported API: true
Extendable: false
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class wt.util.WTException |
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
ObjectIsStaleException
public ObjectIsStaleException(Persistable object,
String messageKey)
- This constructor creates a specific message.
Supported API: false
- Parameters:
object
- used to derive object display parameter for exception
messagemessageKey
- key to use for exception message