This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception while overriding  RSS feed

 
neha. bajaj
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you tell me some name of checked exceptions ?
 
Winston Gutkowski
Bartender
Posts: 10573
65
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
neha. bajaj wrote:Could you tell me some name of checked exceptions ?

java.io.IOException.

Winston
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16028
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at Exceptions in Oracle's Java Tutorials - especially the page The Catch or Specify Requirement.
 
Campbell Ritchie
Marshal
Posts: 55751
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
neha. bajaj wrote:Could you tell me some name of checked exceptions ? . . .
Go and find the Exception class, and look for direct known subclasses. Everything in that block, except RuntimeException, and all their subclasses, are checked exceptions.
 
BalaMurali dhar
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The names of checked exceptions are
1) class Not Found Exceptions
2) Illegal Access Exception
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!