Class ReadBufferOverflowException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ReadBufferOverflowException
    extends java.io.IOException
    Exception thrown when the WebSocket buffer size is insufficient.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadBufferOverflowException​(int minBufferSize)
      Constructs a ReadBufferOverflowException with the specified minimum buffer size.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMinBufferSize()
      Returns the minimum buffer size required to handle the data.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ReadBufferOverflowException

        public ReadBufferOverflowException​(int minBufferSize)
        Constructs a ReadBufferOverflowException with the specified minimum buffer size.
        Parameters:
        minBufferSize - The minimum buffer size required
    • Method Detail

      • getMinBufferSize

        public int getMinBufferSize()
        Returns the minimum buffer size required to handle the data.
        Returns:
        The minimum buffer size