What shall i do to handle the server side exception?
You should catch the
specific exceptions, map them to meaningful messages, and show them to the users. Catching a single
generic exception such as in your code is rarely a good idea, -- how do you know what problem occured? Here is some sample code that you may have as your server starts:
Eugene.