Package org.java_websocket.exceptions
Class IncompleteHandshakeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.java_websocket.exceptions.IncompleteHandshakeException
- All Implemented Interfaces:
Serializable
exception which indicates that a incomplete handshake was received
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionconstructor for a IncompleteHandshakeExceptionIncompleteHandshakeException
(int preferredSize) constructor for a IncompleteHandshakeException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IncompleteHandshakeException
public IncompleteHandshakeException(int preferredSize) constructor for a IncompleteHandshakeException- Parameters:
preferredSize
- the preferred size
-
IncompleteHandshakeException
public IncompleteHandshakeException()constructor for a IncompleteHandshakeExceptionpreferredSize will be 0
-
-
Method Details
-
getPreferredSize
public int getPreferredSize()Getter preferredSize- Returns:
- the preferredSize
-