Class SnapshotVersionMismatchException

  • All Implemented Interfaces:
    Serializable

    public class SnapshotVersionMismatchException
    extends SnapshotReadException
    Snapshot version mismatch exception. Indicates that the format version of the snapshot is not supported by this application.
    See Also:
    Serialized Form
    • Constructor Detail

      • SnapshotVersionMismatchException

        public SnapshotVersionMismatchException​(int fileVersion,
                                                int currentVersion)
        Constructs a new exception.
        Parameters:
        fileVersion - the format version of the snapshot file
        currentVersion - the format version, supported by the application
      • SnapshotVersionMismatchException

        public SnapshotVersionMismatchException​(String participantId,
                                                int fileVersion,
                                                int currentVersion)
        Constructs a new exception, indicating version mismatch for a particular snapshot participant.
        Parameters:
        participantId - the snapshot participant id, cannot be null
        fileVersion - the format version of the snapshot file
        currentVersion - the format version, supported by the application