⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections

Class BufferOverflowException

RuntimeException
|
+--org.apache.commons.collections.BufferOverflowException


public class BufferOverflowException
extends RuntimeException

The BufferOverflowException is used when the buffer's capacity has been exceeded.
Since:
Commons Collections 2.1
Authors:
Avalon
Paul Jack
Stephen Colebourne

Constructor Summary

BufferOverflowException()

Constructs a new BufferOverflowException.

BufferOverflowException(String message)

Construct a new BufferOverflowException.

BufferOverflowException(String message, Throwable exception)

Construct a new BufferOverflowException.

Method Summary

Throwable

getCause()

Gets the root cause of the exception.

Constructor Details

BufferOverflowException

public BufferOverflowException()

Constructs a new BufferOverflowException.


BufferOverflowException

public BufferOverflowException(String message, Throwable exception)

Construct a new BufferOverflowException.

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

BufferOverflowException

public BufferOverflowException(String message)

Construct a new BufferOverflowException.

Parameters:
message - the detail message for this exception

Method Details

getCause

public final Throwable getCause()

Gets the root cause of the exception.

Returns:
the root cause