This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 44521
Start with the Java™ Tutorials, I would suggest.
I agree. Here's the link:
subject: Why Checked Exception in Java
jQuery in Action, 3rd edition