Top Description Inners Fields Constructors Methods
io.netty.channel

public Class ChannelException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
io.netty.channel.ChannelException.StacklessChannelException, io.netty.channel.EventLoopException, io.netty.channel.ChannelPipelineException, io.netty.channel.group.ChannelGroupException
Imports
io.netty.util.internal.PlatformDependent, .SuppressJava6Requirement, .ThrowableUtil, .UnstableApi

A RuntimeException which is thrown when an I/O operation fails.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ChannelException()

Creates a new exception.

public
ChannelException(String message, Throwable cause)

Creates a new exception.

public
ChannelException(String message)

Creates a new exception.

public
ChannelException(Throwable cause)

Creates a new exception.

protected
ChannelException(String message, Throwable cause, boolean shared)

Method Summary

Modifier and TypeMethod and Description
pack-priv static ChannelException
newStatic(String message, Class<?> clazz, String method)

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

ChannelExceptionback to summary
public ChannelException()

Creates a new exception.

ChannelExceptionback to summary
public ChannelException(String message, Throwable cause)

Creates a new exception.

ChannelExceptionback to summary
public ChannelException(String message)

Creates a new exception.

ChannelExceptionback to summary
public ChannelException(Throwable cause)

Creates a new exception.

ChannelExceptionback to summary
protected ChannelException(String message, Throwable cause, boolean shared)
Annotations
@UnstableApi
@SuppressJava6Requirement
reason:uses Java 7+ RuntimeException.(String, Throwable, boolean, boolean) but is guarded by version checks

Method Detail

newStaticback to summary
pack-priv static ChannelException newStatic(String message, Class<?> clazz, String method)
io.netty.channel back to summary

private final Class ChannelException.StacklessChannelException

extends ChannelException
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
StacklessChannelException(String message, Throwable cause, boolean shared)

Method Summary

Modifier and TypeMethod and Description
public Throwable
fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace.
Inherited from io.netty.channel.ChannelException:
newStatic

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides io.netty.channel.ChannelException.serialVersionUID.

Constructor Detail

StacklessChannelExceptionback to summary
pack-priv StacklessChannelException(String message, Throwable cause)
StacklessChannelExceptionback to summary
pack-priv StacklessChannelException(String message, Throwable cause, boolean shared)

Method Detail

fillInStackTraceback to summary
public Throwable fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Doc from java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread.

If the stack trace of this Throwable is not writable, calling this method has no effect.

Returns:Throwable

a reference to this Throwable instance.

Annotations
@Override