java.io.Serializable
ChannelClosedException
, ChannelNotConnectedException
public class ChannelException
extends java.lang.Exception
implements java.io.Serializable
Constructor | Description |
---|---|
ChannelException() |
|
ChannelException(java.lang.String reason) |
|
ChannelException(java.lang.String reason,
java.lang.Exception cause) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Exception |
getCause() |
Retrieves the cause of this exception as passed to the constructor.
|
void |
printStackTrace() |
Prints this exception's stack trace to standard error.
|
java.lang.String |
toString() |
public ChannelException()
public ChannelException(java.lang.String reason)
public ChannelException(java.lang.String reason, java.lang.Exception cause)
public java.lang.Exception getCause()
This method is provided so that in the case that a 1.3 VM is used, 1.4-like exception chaining
functionality is possible. If a 1.4 VM is used, this method will override
Throwable.getCause()
with a version that does exactly the same thing.
getCause
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
public final void printStackTrace()
This method is provided so that in the case that a 1.3 VM is used, calls to
printStackTrace
can be intercepted so that 1.4-like exception chaining functionality is possible.
printStackTrace
in class java.lang.Throwable