Forums Register Login

Using java.lang.SecurityException

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Thanks for the reply - it's set my mind at rest!

Cheers
Jon
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 875 times.
Similar Threads
SecurityException
URLyBird 1.2.1 - SecurityException
About URLyBird 1.2.3 Assignment Question
SecurityException
SecurityException?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:17:25.