Package org.rostore.client
Class VersionConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.rostore.client.ClientException
org.rostore.client.VersionConflictException
- All Implemented Interfaces:
Serializable
Exception is thrown on post/put when the version in e input is not as expected by the server.
Client should provide the version in the request header as it has received in the previous get/put/post transaction. If the server recognizes that the object has been changed in mean time, i.e. the version on server is higher than the one in the request.
- See Also:
-
Constructor Summary
ConstructorDescriptionVersionConflictException
(String message, RequestProperties requestProperties) -
Method Summary
Methods inherited from class org.rostore.client.ClientException
getRequestProperties, getServerMessage, getTrackingId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VersionConflictException
-