org.apache.commons.collections
Class BufferOverflowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.collections.BufferOverflowException
All Implemented Interfaces:
Serializable

public class BufferOverflowException
extends RuntimeException

The BufferOverflowException is used when the buffer's capacity has been exceeded.

Since:
Commons Collections 2.1
Version:
$Revision: 1.1.1.1 $ $Date: 2005/05/23 04:32:41 $
Author:
Avalon, Berin Loritsch, Jeff Turner, Paul Jack, Matt Hall, John Watkinson, Stephen Colebourne
See Also:
Serialized Form

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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

getCause

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

Overrides:
getCause in class Throwable
Returns:
the root cause


Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.