Class BufferUnderflowException

  • All Implemented Interfaces:
    Serializable

    @Deprecated(since="2021-04-30")
    public class BufferUnderflowException
    extends NoSuchElementException
    Deprecated.
    Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.
    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 Detail

      • BufferUnderflowException

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

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

        public BufferUnderflowException​(String message,
                                        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 Throwable getCause()
        Deprecated.
        Gets the root cause of the exception.
        Overrides:
        getCause in class Throwable
        Returns:
        the root cause