public class

BufferUnderflowException

extends NoSuchElementException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.util.NoSuchElementException
           ↳ org.apache.commons.collections.BufferUnderflowException

Class Overview

The BufferUnderflowException is used when the buffer is already empty.

NOTE: From version 3.0, this exception extends NoSuchElementException.

Summary

Public Constructors
BufferUnderflowException()
Constructs a new BufferUnderflowException.
BufferUnderflowException(String message)
Construct a new BufferUnderflowException.
BufferUnderflowException(String message, Throwable exception)
Construct a new BufferUnderflowException.
Public Methods
final Throwable getCause()
Gets the root cause of the exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public BufferUnderflowException ()

Also: Collections

Constructs a new BufferUnderflowException.

public BufferUnderflowException (String message)

Also: Collections

Construct a new BufferUnderflowException.

Parameters
message the detail message for this exception

public BufferUnderflowException (String message, Throwable exception)

Also: Collections

Construct a new BufferUnderflowException.

Parameters
message the detail message for this exception
exception the root cause of the exception

Public Methods

public final Throwable getCause ()

Also: Collections

Gets the root cause of the exception.

Returns
  • the root cause