Class 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 prefered
      private static long serialVersionUID
      Serializable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 IncompleteHandshakeException

        preferredSize will be 0

    • Method Detail

      • getPreferredSize

        public int getPreferredSize()
        Getter preferredSize
        Returns:
        the preferredSize