wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 9280
    
  17

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: 253

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
 
Similar Threads
help me to understand compiletime & runtimr exceptions
Should I know the runtime exceptions for the exam?
Exception Question help
Exception or RuntimeException
Catching exception not thrown in try clause