Class KaitaiStream.UnexpectedDataError

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    KaitaiStream

    @Deprecated
    public static class KaitaiStream.UnexpectedDataError
    extends RuntimeException
    Deprecated.
    Not used anymore in favour of Validation*-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 Detail

      • UnexpectedDataError

        public UnexpectedDataError​(byte[] actual,
                                   byte[] expected)
        Deprecated.