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
public final class BufferBoundsException extends IOException
A checked replacement forIndexOutOfBoundsException
. Used byRandomAccessReader
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BufferBoundsException(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 Detail
-
BufferBoundsException
public BufferBoundsException(int index, int bytesRequested, long bufferLength)
-
BufferBoundsException
public BufferBoundsException(String message)
-
-