Class ReadBufferOverflowException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.tomcat.websocket.ReadBufferOverflowException
All Implemented Interfaces:
Serializable

public class ReadBufferOverflowException extends IOException
Exception thrown when the WebSocket buffer size is insufficient.
See Also:
  • Constructor Details

    • ReadBufferOverflowException

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

    • getMinBufferSize

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