Class IncompleteException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.java_websocket.exceptions.IncompleteException
All Implemented Interfaces:
Serializable

public class IncompleteException extends Exception
Exception which indicates that the frame is not yet complete
See Also:
  • Constructor Details

    • IncompleteException

      public IncompleteException(int preferredSize)
      Constructor for the preferred size of a frame
      Parameters:
      preferredSize - the preferred size of a frame
  • Method Details

    • getPreferredSize

      public int getPreferredSize()
      Getter for the preferredSize
      Returns:
      the value of the preferred size