- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.netty5.channel.ChannelException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChannelGroupException
,ChannelPipelineException
,EventLoopException
,TimeoutException
public class ChannelException extends RuntimeException
ARuntimeException
which is thrown when an I/O operation fails.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description ChannelException()
Creates a new exception.ChannelException(String message)
Creates a new exception.ChannelException(String message, Throwable cause)
Creates a new exception.protected
ChannelException(String message, Throwable cause, boolean shared)
ChannelException(Throwable cause)
Creates a new exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ChannelException
public ChannelException()
Creates a new exception.
-
ChannelException
public ChannelException(String message)
Creates a new exception.
-
ChannelException
public ChannelException(Throwable cause)
Creates a new exception.
-
ChannelException
@UnstableApi protected ChannelException(String message, Throwable cause, boolean shared)
-
-