org.apache.commons.collections

Class BufferUnderflowException

public class BufferUnderflowException extends NoSuchElementException

The BufferUnderflowException is used when the buffer is already empty.

NOTE: From version 3.0, this exception extends NoSuchElementException.

Since: Commons Collections 2.1

Version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $

Author: Avalon Berin Loritsch Jeff Turner Paul Jack Stephen Colebourne

Constructor Summary
BufferUnderflowException()
Constructs a new BufferUnderflowException.
BufferUnderflowException(String message)
Construct a new BufferUnderflowException.
BufferUnderflowException(String message, Throwable exception)
Construct a new BufferUnderflowException.
Method Summary
ThrowablegetCause()
Gets the root cause of the exception.

Constructor Detail

BufferUnderflowException

public BufferUnderflowException()
Constructs a new BufferUnderflowException.

BufferUnderflowException

public BufferUnderflowException(String message)
Construct a new BufferUnderflowException.

Parameters: message the detail message for this exception

BufferUnderflowException

public BufferUnderflowException(String message, Throwable exception)
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()
Gets the root cause of the exception.

Returns: the root cause

Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.