Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why Checked Exception in Java

 
anish jain
Ranch Hand
Posts: 129
  • 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
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start with the Java™ Tutorials, I would suggest.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic