Package gov.nih.mipav.model.file
Class MetadataExtractor.BufferBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
gov.nih.mipav.model.file.MetadataExtractor.BufferBoundsException
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataExtractor
A checked replacement for
IndexOutOfBoundsException. Used by MetadataExtractor.RandomAccessReader.- Author:
- Drew Noakes https://drewnoakes.com
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBufferBoundsException(int index, int bytesRequested, long bufferLength) BufferBoundsException(String message) -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringgetMessage(int index, int bytesRequested, long bufferLength) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
BufferBoundsException
public BufferBoundsException(int index, int bytesRequested, long bufferLength) -
BufferBoundsException
-
-
Method Details
-
getMessage
-