File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why Checked Exception in Java

 
anish jain
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 47216
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start with the Java™ Tutorials, I would suggest.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic