This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9191
    
    2

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: 219
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: excetion
 
Similar Threads
Exception Question help
help me to understand compiletime & runtimr exceptions
Catching exception not thrown in try clause
Exception or RuntimeException
Should I know the runtime exceptions for the exam?