Module io.netty5.codec.http
Class CorruptedWebSocketFrameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.netty5.handler.codec.CodecException
-
- io.netty5.handler.codec.DecoderException
-
- io.netty5.handler.codec.CorruptedFrameException
-
- io.netty5.handler.codec.http.websocketx.CorruptedWebSocketFrameException
-
- All Implemented Interfaces:
Serializable
public final class CorruptedWebSocketFrameException extends CorruptedFrameException
AnDecoderException
which is thrown when the receivedWebSocketFrame
data could not be decoded by an inbound handler.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CorruptedWebSocketFrameException()
Creates a new instance.CorruptedWebSocketFrameException(WebSocketCloseStatus status, String message)
Creates a new instance.CorruptedWebSocketFrameException(WebSocketCloseStatus status, String message, Throwable cause)
Creates a new instance.CorruptedWebSocketFrameException(WebSocketCloseStatus status, Throwable cause)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebSocketCloseStatus
closeStatus()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CorruptedWebSocketFrameException
public CorruptedWebSocketFrameException()
Creates a new instance.
-
CorruptedWebSocketFrameException
public CorruptedWebSocketFrameException(WebSocketCloseStatus status, String message, Throwable cause)
Creates a new instance.
-
CorruptedWebSocketFrameException
public CorruptedWebSocketFrameException(WebSocketCloseStatus status, String message)
Creates a new instance.
-
CorruptedWebSocketFrameException
public CorruptedWebSocketFrameException(WebSocketCloseStatus status, Throwable cause)
Creates a new instance.
-
-
Method Detail
-
closeStatus
public WebSocketCloseStatus closeStatus()
-
-