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:
java.io.Serializable
@Deprecated(since="2021-04-30") public class BufferUnderflowException extends java.util.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 Summary
Constructors Constructor Description BufferUnderflowException()
Deprecated.Constructs a newBufferUnderflowException
.BufferUnderflowException(java.lang.String message)
Deprecated.Construct a newBufferUnderflowException
.BufferUnderflowException(java.lang.String message, java.lang.Throwable exception)
Deprecated.Construct a newBufferUnderflowException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Throwable
getCause()
Deprecated.Gets the root cause of the exception.
-
-
-
Constructor Detail
-
BufferUnderflowException
public BufferUnderflowException()
Deprecated.Constructs a newBufferUnderflowException
.
-
BufferUnderflowException
public BufferUnderflowException(java.lang.String message)
Deprecated.Construct a newBufferUnderflowException
.- Parameters:
message
- the detail message for this exception
-
BufferUnderflowException
public BufferUnderflowException(java.lang.String message, java.lang.Throwable exception)
Deprecated.Construct a newBufferUnderflowException
.- Parameters:
message
- the detail message for this exceptionexception
- the root cause of the exception
-
-