Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2005

Tip: Looking for answers? Try searching our database.

What do people think are the best and worst examples of use of exceptions in the body of Java software?

Thread view: 
sandipchitale@gmail.com - 07 Jun 2005 06:31 GMT
What do people think are best and worst examples of use of exceptions
in the Java software today?

Throwing as well as handling. Caught as well as uncaught.

Are there any good guidelines/best practices/patterns for when to throw
caught and uncaught exceptions and how to handle them?
iamfractal@hotmail.com - 07 Jun 2005 16:40 GMT
> What do people think are best and worst examples of use of exceptions
> in the Java software today?
[quoted text clipped - 3 lines]
> Are there any good guidelines/best practices/patterns for when to throw
> caught and uncaught exceptions and how to handle them?

Hi!

I enjoyed this article:
http://java.sun.com/developer/technicalArticles/Programming/exceptions/

Though the follow-up lack a little something ... practicality,
probably:
http://java.sun.com/developer/technicalArticles/Programming/exceptions2/

But the best advice I've seen is the final paragraph from here:
http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html

.ed

www.EdmundKirwan.com - Home of The Fractal Class Composition.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.