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:
java.io.Serializable
public class IncompleteHandshakeException extends java.lang.RuntimeException
exception which indicates that a incomplete handshake was recieved- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
preferredSize
attribut which size of handshake would have been preferedprivate static long
serialVersionUID
Serializable
-
Constructor Summary
Constructors Constructor Description IncompleteHandshakeException()
constructor for a IncompleteHandshakeExceptionIncompleteHandshakeException(int preferredSize)
constructor for a IncompleteHandshakeException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPreferredSize()
Getter preferredSize
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable- See Also:
- Constant Field Values
-
preferredSize
private final int preferredSize
attribut which size of handshake would have been prefered
-
-
Constructor Detail
-
IncompleteHandshakeException
public IncompleteHandshakeException(int preferredSize)
constructor for a IncompleteHandshakeException- Parameters:
preferredSize
- the prefered size
-
IncompleteHandshakeException
public IncompleteHandshakeException()
constructor for a IncompleteHandshakeExceptionpreferredSize will be 0
-
-