Package io.kaitai.struct
Class KaitaiStream.UnexpectedDataError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.kaitai.struct.KaitaiStream.UnexpectedDataError
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- KaitaiStream
@Deprecated public static class KaitaiStream.UnexpectedDataError extends RuntimeException
Deprecated.Not used anymore in favour ofValidation*-exceptions.Exception class for an error that occurs when some fixed content was expected to appear, but actual data read was different.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexpectedDataError(byte[] actual, byte[] expected)Deprecated.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-