Class BufferUnderflowException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated(since="2021-04-30")
    public class BufferUnderflowException
    extends java.util.NoSuchElementException
    Deprecated.
    Apache Commons Collections version 3.x is being deprecated from AEMaaCS. The upgraded version 4.4 of Commons Collections is already included as replacement. Customers are advised to upgrade to this version of the library. Please note: the package name was changed to org.apache.commons.collections4. Further note that there are AEM APIs currently exposing the old collections classes; these will be updated in upcoming releases.
    The BufferUnderflowException is used when the buffer is already empty.

    NOTE: From version 3.0, this exception extends NoSuchElementException.

    Since:
    Commons Collections 2.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BufferUnderflowException()
      Deprecated.
      Constructs a new BufferUnderflowException.
      BufferUnderflowException​(java.lang.String message)
      Deprecated.
      Construct a new BufferUnderflowException.
      BufferUnderflowException​(java.lang.String message, java.lang.Throwable exception)
      Deprecated.
      Construct a new BufferUnderflowException.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Deprecated.
      Gets the root cause of the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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

      • BufferUnderflowException

        public BufferUnderflowException()
        Deprecated.
        Constructs a new BufferUnderflowException.
      • BufferUnderflowException

        public BufferUnderflowException​(java.lang.String message)
        Deprecated.
        Construct a new BufferUnderflowException.
        Parameters:
        message - the detail message for this exception
      • BufferUnderflowException

        public BufferUnderflowException​(java.lang.String message,
                                        java.lang.Throwable exception)
        Deprecated.
        Construct a new BufferUnderflowException.
        Parameters:
        message - the detail message for this exception
        exception - the root cause of the exception
    • Method Detail

      • getCause

        public final java.lang.Throwable getCause()
        Deprecated.
        Gets the root cause of the exception.
        Overrides:
        getCause in class java.lang.Throwable
        Returns:
        the root cause