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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serializable
      See Also:
    • preferredSize

      private final int preferredSize
      attribute which size of handshake would have been preferred
  • 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