This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 8661
    
  23

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: 14951
    
  26

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: 43935
    
  33
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Exception while overriding
 
It's not a secret anymore!