org.apache.commons.collections

Class BufferOverflowException


public class BufferOverflowException
extends RuntimeException

The BufferOverflowException is used when the buffer's capacity has been exceeded.
Version:
$Revision: 1.9 $ $Date: 2004/02/18 01:15:42 $
Authors:
Avalon
Berin Loritsch
Jeff Turner
Paul Jack
Stephen Colebourne
Since:
Commons Collections 2.1

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)
Construct a new BufferOverflowException.
Parameters:
message - the detail message for this exception

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

Method Details

getCause

public final Throwable getCause()
Gets the root cause of the exception.
Returns:
the root cause

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