aspose file tools The moose likes Beginning Java and the fly
likes Exception Handling Big Moose Saloon Register / Login
JavaRanch » Java Forums » Java » Beginning Java Bookmark
"Exception Handling" Watch "Exception Handling" New topic
Exception Handling  Sona Makheeja  Joined: Oct 25, 2004 Posts:
11 In an interview i was asked  "What are the disadvantages of
Exception handling" i cudnt thnk of anything  I answered: If in
the catch block you arent coding to undo the things done the
process remains incomplete For eg if two tables are to be
updated , first gets updated properly, but b4 second does there
is an exception , so the db contains invalid state  but he wasnt
Ok with my answer... he said what if the coding is taken care
properly???  Can someone help me with the answer. Paul Sturrock
Joined: Apr 14, 2004 Posts: 10336  Checked exceptions can be
irritating. Think of what OO tries to achieve - creating Objects
which contains functionalitly/properties for which they are
responsible and nothing else. Suppos