Class CorruptDatasetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.marksayson.deletionchecker.format.CorruptDatasetException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CorruptDatasetException
Creates the exception.- Parameters:
message- a description of what was wrong with the file
-