File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Exception while overriding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Exception while overriding" Watch "Exception while overriding" New topic
Author

Exception while overriding

neha. bajaj
Ranch Hand

Joined: Jul 15, 2012
Posts: 31
Could you tell me some name of checked exceptions ?
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8008
    
  22

neha. bajaj wrote:Could you tell me some name of checked exceptions ?

java.io.IOException.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14266
    
  21

Have a look at Exceptions in Oracle's Java Tutorials - especially the page The Catch or Specify Requirement.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39388
    
  28
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

Joined: Apr 14, 2012
Posts: 60
The names of checked exceptions are
1) class Not Found Exceptions
2) Illegal Access Exception
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception while overriding