Package com.drew.lang

Class BufferBoundsException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class BufferBoundsException
    extends java.io.IOException
    A checked replacement for IndexOutOfBoundsException. Used by RandomAccessReader.
    See Also:
    Serialized Form
    • 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

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

      • BufferBoundsException

        public BufferBoundsException​(int index,
                                     int bytesRequested,
                                     long bufferLength)
      • BufferBoundsException

        public BufferBoundsException​(java.lang.String message)