Package 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: 646777 $ $Date: 2008-04-10 14:33:15 +0200 (Thu, 10 Apr 2008) $
- Author:
- Avalon, Berin Loritsch, Jeff Turner, Paul Jack, Stephen Colebourne
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BufferUnderflowException()
Constructs a newBufferUnderflowException
.BufferUnderflowException(String message)
Construct a newBufferUnderflowException
.BufferUnderflowException(String message, Throwable exception)
Construct a newBufferUnderflowException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getCause()
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
-
-
-
-
Constructor Detail
-
BufferUnderflowException
public BufferUnderflowException()
Constructs a newBufferUnderflowException
.
-
BufferUnderflowException
public BufferUnderflowException(String message)
Construct a newBufferUnderflowException
.- Parameters:
message
- the detail message for this exception
-
-