File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Checked Exceptions should be catched Late in the Application . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Checked Exceptions should be catched Late in the Application .

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I sincerely apologize if this is not the question to be posted in this forum .

Hi ,

While going through the tutorials in net , i once read that "Checked Exceptions should be catched Late ".

Means for example , if an checked exception is happened in a Business Layer , they should be thrown from there and should be handled in Presentation tier .

Is the Author mean to say RuntimeExceptions should be handled as earlier as Possible ??
My question is , why this is not in case of RuntimeExceptions ??


Thanks for reading , please share your ideas .


Save India From Corruption - Anna Hazare.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Ravi Kiran V wrote:Hi ,

I sincerely apologize if this is not the question to be posted in this forum .


1) This was posted in the Performance forum and I moved it here.

Ravi Kiran V wrote:
While going through the tutorials in net , i once read that "Checked Exceptions should be catched Late ".

...

2) I vaguely remembered that I had read a similar question some time back. So a quick search showed up this thread. And surprise, it was you who had posted this exact same question just a few months back.

I'm going to close this one now. If you have any further questions related to that thread, please continue it there.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checked Exceptions should be catched Late in the Application .