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
public class IncompleteHandshakeException extends RuntimeException
exception which indicates that a incomplete handshake was recieved- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncompleteHandshakeException()
constructor for a IncompleteHandshakeExceptionIncompleteHandshakeException(int preferedSize)
constructor for a IncompleteHandshakeException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPreferedSize()
Getter preferedSize-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IncompleteHandshakeException
public IncompleteHandshakeException(int preferedSize)
constructor for a IncompleteHandshakeException- Parameters:
preferedSize
- the prefered size
-
IncompleteHandshakeException
public IncompleteHandshakeException()
constructor for a IncompleteHandshakeExceptionpreferedSize will be 0
-
-