Acts on a exception and performs some clean up operations.
If a
#processRequest(Packet),
#processResponse(Packet),
#processException(Throwable) throws an exception, this method
will be always invoked on all the
Tubes in the remaining
NextActions.
On the server side, the
Throwable thrown will be propagated to the
top-most transport. The transport converts the exception to fault reply or
simply logs in case of one-way MEP. If you are a filtering
Tube like
AbstractTubeImpl, you don't have to override the implementation). On
the other hand, any intermediate
Tube may want to convert the exception
to a fault message.
On the client side, the
Throwable thrown
will be propagated all the way back to the calling client
applications. (The consequence of that is that if you are
a filtering
Tube like
AbstractTubeImpl, you don't have to
override the implementation)