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:
java.io.Serializable
public class WrongExpectedVersionException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrongExpectedVersionException(@NotNull java.lang.String streamName, @NotNull StreamRevision nextExpectedRevisionUnsigned, @NotNull StreamRevision actualRevision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamRevisiongetActualVersion()StreamRevisiongetNextExpectedRevision()java.lang.StringgetStreamName()
-
-
-
Constructor Detail
-
WrongExpectedVersionException
public WrongExpectedVersionException(@NotNull @NotNull java.lang.String streamName, @NotNull @NotNull StreamRevision nextExpectedRevisionUnsigned, @NotNull @NotNull StreamRevision actualRevision)
-
-
Method Detail
-
getStreamName
public java.lang.String getStreamName()
-
getNextExpectedRevision
public StreamRevision getNextExpectedRevision()
-
getActualVersion
public StreamRevision getActualVersion()
-
-