Class ChannelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.netty.channel.ChannelException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ChannelException.StacklessChannelException, ChannelGroupException, ChannelPipelineException, EventLoopException, TimeoutException
public class ChannelException
extends java.lang.RuntimeException
A
RuntimeException which is thrown when an I/O operation fails.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a new exception.ChannelException(java.lang.String message) Creates a new exception.ChannelException(java.lang.String message, java.lang.Throwable cause) Creates a new exception.protectedChannelException(java.lang.String message, java.lang.Throwable cause, boolean shared) ChannelException(java.lang.Throwable cause) Creates a new exception. -
Method Summary
Modifier and TypeMethodDescription(package private) static ChannelExceptionnewStatic(java.lang.String message, java.lang.Class<?> clazz, java.lang.String method) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ChannelException
public ChannelException()Creates a new exception. -
ChannelException
public ChannelException(java.lang.String message, java.lang.Throwable cause) Creates a new exception. -
ChannelException
public ChannelException(java.lang.String message) Creates a new exception. -
ChannelException
public ChannelException(java.lang.Throwable cause) Creates a new exception. -
ChannelException
protected ChannelException(java.lang.String message, java.lang.Throwable cause, boolean shared)
-
-
Method Details
-
newStatic
static ChannelException newStatic(java.lang.String message, java.lang.Class<?> clazz, java.lang.String method)
-