-
- All Implemented Interfaces:
-
java.io.Serializable
public class IncompleteHandshakeException extends RuntimeException
exception which indicates that a incomplete handshake was received
-
-
Field Summary
Fields Modifier and Type Field Description private final int
preferredSize
-
Constructor Summary
Constructors Constructor Description IncompleteHandshakeException(int preferredSize)
constructor for a IncompleteHandshakeException IncompleteHandshakeException()
constructor for a IncompleteHandshakeExceptionpreferredSize will be 0
-
Method Summary
Modifier and Type Method Description int
getPreferredSize()
Getter preferredSize -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
IncompleteHandshakeException
IncompleteHandshakeException(int preferredSize)
constructor for a IncompleteHandshakeException- Parameters:
preferredSize
- the preferred size
-
IncompleteHandshakeException
IncompleteHandshakeException()
constructor for a IncompleteHandshakeExceptionpreferredSize will be 0
-
-
Method Detail
-
getPreferredSize
int getPreferredSize()
Getter preferredSize
-
-
-
-