Class BadPayloadException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BadPayloadException
    extends CloseException
    Exception to terminate the connection because it has received data within a frame payload that was not consistent with the requirements of that frame payload. (eg: not UTF-8 in a text frame, or a unexpected data seen by an extension)
    See Also:
    StatusCode.BAD_PAYLOAD, Serialized Form
    • 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
    • Constructor Detail

      • BadPayloadException

        public BadPayloadException​(java.lang.String message)
      • BadPayloadException

        public BadPayloadException​(java.lang.String message,
                                   java.lang.Throwable t)
      • BadPayloadException

        public BadPayloadException​(java.lang.Throwable t)