Class BadPayloadException

All Implemented Interfaces:
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:
  • Constructor Details

    • BadPayloadException

      public BadPayloadException(String message)
    • BadPayloadException

      public BadPayloadException(String message, Throwable t)
    • BadPayloadException

      public BadPayloadException(Throwable t)