permaculture playing cards
The moose likes Java in General and the fly likes Why Checked Exception in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Why Checked Exception in Java" Watch "Why Checked Exception in Java" New topic

Why Checked Exception in Java

anish jain
Ranch Hand

Joined: Feb 03, 2010
Posts: 129
Why did Java categorize the Exception into Checked and Unchecked Exceptions?

What is the advantage of forcing the developer to handle the exception at compile time as in the case of Checked Exception?

And also new frameworks like Spring,Hibernate etc. support Unchecked Exceptions Why is it so?

Any help will be highly appreciated...
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46373
Start with the Java™ Tutorials, I would suggest.
I agree. Here's the link:
subject: Why Checked Exception in Java
It's not a secret anymore!