org.apache.commons.collections
Class BufferUnderflowException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.util.NoSuchElementException
|
+--org.apache.commons.collections.BufferUnderflowException
- All Implemented Interfaces:
- Serializable
- 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: 1.10 $ $Date: 2004/01/14 21:43:04 $
- Author:
- Avalon, Berin Loritsch, Jeff Turner, Paul Jack, Stephen Colebourne
- See Also:
- Serialized Form
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 exceptionexception
- the root cause of the exception
getCause
public final Throwable getCause()
- Gets the root cause of the exception.
- Returns:
- the root cause
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.