This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Exception handing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Exception handing " Watch "Exception handing " New topic

Exception handing

Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hi reader,
I was thinking to implement all my exception handling in client side when it is connected in local mode. As, for the reason exceptions would be required in order to notify about the problems to user but in local mode this notification will be without networking. In Remote mode there also be requirement for the exceptions to throw it to the user via network to notify the problem to the user. But now, here also exceptions are required on server side. So, I had came to this conclusion that exception package is to be deployed on both client and server side such that both client and server are independent of each other and to carry out exceptions in source code there would be no requirement of import statement. Is there any other opinion with you guys then please post it.
Thank you,

It is sorta covered in the JavaRanch Style Guide.
subject: Exception handing