- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.netty5.handler.codec.CodecException
-
- io.netty5.handler.codec.PrematureChannelClosureException
-
- All Implemented Interfaces:
Serializable
public class PrematureChannelClosureException extends CodecException
ACodecException
which is thrown when aChannel
is closed unexpectedly before the codec finishes handling the current message, such as missing response while waiting for a request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrematureChannelClosureException()
Creates a new instance.PrematureChannelClosureException(String message)
Creates a new instance.PrematureChannelClosureException(String message, Throwable cause)
Creates a new instance.PrematureChannelClosureException(Throwable cause)
Creates a new instance.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PrematureChannelClosureException
public PrematureChannelClosureException()
Creates a new instance.
-
PrematureChannelClosureException
public PrematureChannelClosureException(String message, Throwable cause)
Creates a new instance.
-
PrematureChannelClosureException
public PrematureChannelClosureException(String message)
Creates a new instance.
-
PrematureChannelClosureException
public PrematureChannelClosureException(Throwable cause)
Creates a new instance.
-
-