Class MetadataExtractor.BufferBoundsException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    MetadataExtractor

    public static final class MetadataExtractor.BufferBoundsException
    extends java.io.IOException
    A checked replacement for IndexOutOfBoundsException. Used by MetadataExtractor.RandomAccessReader.
    Author:
    Drew Noakes https://drewnoakes.com
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String getMessage​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, 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)
    • Method Detail

      • getMessage

        private static java.lang.String getMessage​(int index,
                                                   int bytesRequested,
                                                   long bufferLength)