Class RecordIOException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RecordIOException
    extends java.lang.RuntimeException
    A RecordIOException is thrown when a RecordReader or RecordUnmarshaller encounters a malformed record. Subsequent reads from a RecordReader may or may not be possible.
    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RecordIOException​(java.lang.String message)
      Constructs a new RecordIOException.
      RecordIOException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new RecordIOException.
      RecordIOException​(java.lang.Throwable cause)
      Constructs a new RecordIOException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RecordIOException

        public RecordIOException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Constructs a new RecordIOException.
        Parameters:
        message - the error message
        cause - the root cause
      • RecordIOException

        public RecordIOException​(java.lang.String message)
        Constructs a new RecordIOException.
        Parameters:
        message - the error message
      • RecordIOException

        public RecordIOException​(java.lang.Throwable cause)
        Constructs a new RecordIOException.
        Parameters:
        cause - the root cause