Class 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: 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 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