• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception while overriding

 
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
Pie
Posts: 10422
63
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
Saloon Keeper
Posts: 15355
39
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
Sheriff
Pie
Posts: 49379
62
  • 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