views:

119

answers:

0

I was programming a server side exception management by injecting an IErrorHandler into the ChannelDispatcher and all worked pretty well. I wanted someting similar at the client side to to catch exception say when the server went down unexpectedly (results in channel faults). I know most of the example out there puts all method calls to server in a try catch block that catches the exception inline. I wonder if there is a way to inject an error handler just like what has been done at the server side but at the client?