aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Using java.lang.SecurityException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Using java.lang.SecurityException" Watch "Using java.lang.SecurityException" New topic
Author

Using java.lang.SecurityException

Jonathan Moore
Ranch Hand

Joined: Nov 02, 2005
Posts: 36
Hi all,

I've just submitted my project and am preparing for the exam which I'm taking tomorrow. While going through my code I realised I may have made a mistake with my SecurityException - I didn't implement my own in the suncertify.db package, but used the java.lang.SecurityException. For all the checking and double checking I did of my code, this slipped through the net - I didn't mention it in my choices document either.

My instructions say "Any unimplemented exceptions in this interface must be created as member classes of the suncertify.db package". I feel I can probably get away with this since SecurityException is implemented already, though given the choice I would go back and reimplement it since I think my use is wrong.

Does anyone know if this is likely to affect my mark in a major way? I'm particularly worried since the sentence includes the word "must". I'm just hoping I may have a chance to justify my "decision" in the exam tomorrow.

Thanks for any advice
Jon
Surya De
Greenhorn

Joined: Nov 06, 2005
Posts: 28
Good question John. I would like that to be clarified as well since I have gone your route so far and I have used the java.alang package exception and not provided my own.

Surya
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11508
    
  95

Hi Jon,

I don't think you will have a problem with that. It would have been nice if you had explained why you chose the J2SE exception, but it is not essential.

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Jonathan Moore
Ranch Hand

Joined: Nov 02, 2005
Posts: 36
Thanks for the reply - it's set my mind at rest!

Cheers
Jon
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using java.lang.SecurityException