aspose 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 7676
    
  19

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: 14114
    
  16

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 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38405
    
  23
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