Class BadHeaderException

All Implemented Interfaces:
Serializable

public class BadHeaderException extends AvroRuntimeException
Exception thrown by a MessageDecoder when a message header is not recognized.

This usually indicates that the encoded bytes were not an Avro message.

See Also:
  • Constructor Details

    • BadHeaderException

      public BadHeaderException(String message)