Package org.beanio

Class MalformedRecordException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MalformedRecordException
    extends BeanReaderException
    Exception thrown when a record does not adhere to the expected syntax of the stream format. Subsequent calls to BeanReader.read() are not likely to be successful.
    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • MalformedRecordException

        public MalformedRecordException​(RecordContext context,
                                        java.lang.String message)
        Constructs a new MalformedRecordException.
        Parameters:
        context - the record context for the malformed record
        message - the error message
      • MalformedRecordException

        public MalformedRecordException​(RecordContext context,
                                        java.lang.String message,
                                        java.lang.Throwable cause)
        Constructs a new MalformedRecordException.
        Parameters:
        context - the record context for the malformed record
        message - the error message
        cause - the root cause