Package com.eventstore.dbclient
Class WrongExpectedVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.eventstore.dbclient.WrongExpectedVersionException
- All Implemented Interfaces:
Serializable
When append request failed the optimistic concurrency on the server.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the actual revision of the stream when the check was performed.Returns the expected revision by the request.Returns on which stream the error occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getStreamName
Returns on which stream the error occurred. -
getNextExpectedRevision
Returns the expected revision by the request. -
getActualVersion
Returns the actual revision of the stream when the check was performed.
-