Class InvalidFrameException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidFrameException
    extends InvalidDataException
    exception which indicates that a invalid frame was received (CloseFrame.PROTOCOL_ERROR)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Serializable
    • Method Summary

      • 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
    • Constructor Detail

      • InvalidFrameException

        public InvalidFrameException()
        constructor for a InvalidFrameException

        calling InvalidDataException with closecode PROTOCOL_ERROR

      • InvalidFrameException

        public InvalidFrameException​(java.lang.String s)
        constructor for a InvalidFrameException

        calling InvalidDataException with closecode PROTOCOL_ERROR

        Parameters:
        s - the detail message.
      • InvalidFrameException

        public InvalidFrameException​(java.lang.Throwable t)
        constructor for a InvalidFrameException

        calling InvalidDataException with closecode PROTOCOL_ERROR

        Parameters:
        t - the throwable causing this exception.
      • InvalidFrameException

        public InvalidFrameException​(java.lang.String s,
                                     java.lang.Throwable t)
        constructor for a InvalidFrameException

        calling InvalidDataException with closecode PROTOCOL_ERROR

        Parameters:
        s - the detail message.
        t - the throwable causing this exception.