|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.netty.channel.DefaultExceptionEvent
public class DefaultExceptionEvent
The default ExceptionEvent
implementation.
Constructor Summary | |
---|---|
DefaultExceptionEvent(Channel channel,
Throwable cause)
Creates a new instance. |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the raised exception. |
Channel |
getChannel()
Returns the Channel which is associated with this event. |
ChannelFuture |
getFuture()
Returns the ChannelFuture which is associated with this event. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultExceptionEvent(Channel channel, Throwable cause)
Method Detail |
---|
public Channel getChannel()
ChannelEvent
Channel
which is associated with this event.
getChannel
in interface ChannelEvent
public ChannelFuture getFuture()
ChannelEvent
ChannelFuture
which is associated with this event.
If this event is an upstream event, this method will always return a
SucceededChannelFuture
because the event has occurred already.
If this event is a downstream event (i.e. I/O request), the returned
future will be notified when the I/O request succeeds or fails.
getFuture
in interface ChannelEvent
public Throwable getCause()
ExceptionEvent
getCause
in interface ExceptionEvent
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |