Package com.drew.lang
Class BufferBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.drew.lang.BufferBoundsException
- All Implemented Interfaces:
Serializable
A checked replacement for
IndexOutOfBoundsException. Used by RandomAccessReader.- Author:
- Drew Noakes https://drewnoakes.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBufferBoundsException(int index, int bytesRequested, long bufferLength) BufferBoundsException(String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BufferBoundsException
public BufferBoundsException(int index, int bytesRequested, long bufferLength) -
BufferBoundsException
-