Class CorruptDatasetException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.marksayson.deletionchecker.format.CorruptDatasetException
All Implemented Interfaces:
Serializable

public class CorruptDatasetException extends RuntimeException
Thrown when a dataset file is structurally invalid or fails its integrity check — bad magic bytes, a checksum mismatch, an entity-type mismatch, or an out-of-range header field. The file cannot be trusted. This is distinct from a file whose format version this build simply does not recognize, which is UnsupportedFormatVersionException.
See Also:
  • Constructor Details

    • CorruptDatasetException

      public CorruptDatasetException(String message)
      Creates the exception.
      Parameters:
      message - a description of what was wrong with the file