Handling Server Exceptions at Client in Remoting?
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all, I want to create a centeralized exception handling in Client class. There are around 10 public methods in my client class , which can be executed directly. If the server is not available , exception is throw of non-availability of server, which i can catch by writing try...catch block in all the methods. But that will look messy, so , i am trying to create a centralized exception handling method. When there is any type of error from Server it should go to that centralized method at client. Is there anything like interface, which i can implement in client class and implement the methods? Thanks