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

S

sandipchitale

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?
 
I

iamfractal

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?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top