Package com.e1c.g5.v8.snapshot
Class SnapshotVersionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.e1c.g5.v8.snapshot.SnapshotOperationException
com.e1c.g5.v8.snapshot.SnapshotReadException
com.e1c.g5.v8.snapshot.SnapshotVersionMismatchException
- All Implemented Interfaces:
Serializable
Snapshot version mismatch exception. Indicates that the format version of the snapshot is not supported by
this application.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotVersionMismatchException
(int fileVersion, int currentVersion) Constructs a new exception.SnapshotVersionMismatchException
(String participantId, int fileVersion, int currentVersion) Constructs a new exception, indicating version mismatch for a particular snapshot participant. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SnapshotVersionMismatchException
public SnapshotVersionMismatchException(int fileVersion, int currentVersion) Constructs a new exception.- Parameters:
fileVersion
- the format version of the snapshot filecurrentVersion
- the format version, supported by the application
-
SnapshotVersionMismatchException
Constructs a new exception, indicating version mismatch for a particular snapshot participant.- Parameters:
participantId
- the snapshot participant id, cannot benull
fileVersion
- the format version of the snapshot filecurrentVersion
- the format version, supported by the application
-