This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes excetion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "excetion" Watch "excetion" New topic
Author

excetion

Raju Champaklal
Ranch Hand

Joined: Dec 10, 2009
Posts: 521
if i create my own exception class by extending an unchecked exception class....my class will be also unchecked......right? please someone confirm!!!


scjp 1.6 91%, preparing for scmad
"Time to get MAD now.. we will get even later"....by someone unknown
Rajiv Chopra
Ranch Hand

Joined: Dec 19, 2008
Posts: 62
Raju Champaklal wrote:if i create my own exception class by extending an unchecked exception class....my class will be also unchecked......right? please someone confirm!!!



Rajeev Kumar
SCJP 6.0 Certified 96%
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

I think this link will help you. Let's see!


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9374
    
  19

Raju Champaklal wrote: please someone confirm!!!

Why don't you create a program which doesn't handles your exception and then the compiler will confirm everything...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Salil Vverma
Ranch Hand

Joined: Sep 06, 2009
Posts: 255

if i create my own exception class by extending an unchecked exception class....my class will be also unchecked......right? please someone confirm!!!


All children of checked exception remains checked exception type and children of unchecked exception remains unchecked exception type.

Regards
Salil Verma
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: excetion
 
It's not a secret anymore!