• Post Reply Bookmark Topic Watch Topic
  • New Topic

About Exception Handling  RSS feed

 
Raja Ganesh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,I am a beginner to JAVA technology.While I am reading about Exceptions,it was given that "JAVA provides an Objected-Oriented way of Exception Handling forcing the user to handle without fail".What is the meeaning of OO way of Exception Handling?

Thanks in advance.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"RMHS VJA,"

Welcome to JavaRanch!

Please revise your display name to meet the JavaRanch Naming Policy. To maintain the friendly atmosphere here at the ranch, we like folks to use real (or at least real-looking) names. You can edit your display name here.

Thank you for your prompt attention!

-Marc
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really don't know what they mean by an "OO way" of exception handling. Exceptions are objects so they can use encapsulation, polymorphism and other object goodness. Maybe that was what they meant.

If your text and instructions are not clear, you might enjoy Thinking In Java as an extra resource. That link has the free online 3rd edition plus a link to buy the printed 4th edition. His chapter on exceptions is quite good, including the controversy over checked exceptions.
[ November 03, 2006: Message edited by: Stan James ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!