Class IncompleteHandshakeException

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

public class IncompleteHandshakeException extends RuntimeException
exception which indicates that a incomplete handshake was received
See Also:
  • Constructor Details

    • IncompleteHandshakeException

      public IncompleteHandshakeException(int preferredSize)
      constructor for a IncompleteHandshakeException

      Parameters:
      preferredSize - the preferred size
    • IncompleteHandshakeException

      public IncompleteHandshakeException()
      constructor for a IncompleteHandshakeException

      preferredSize will be 0

  • Method Details

    • getPreferredSize

      public int getPreferredSize()
      Getter preferredSize
      Returns:
      the preferredSize