Hi Darya and Wei-ju, Thanks a lot for your comments!
Yep, I did not expect that I need more time. With full-time job it�s not so easy to make it faster This preparation is endless
Joined: Aug 21, 2004
I share your and and and ... Same feelings on my side.
But at least we are careful
Joined: Feb 16, 2005
it is true that the SecurityException is documented as being thrown from the SecurityManager. This holds true for the J2SE, but noone prevents you from using it in your project. At last, it is simply a public API class and the information that within the J2SE it is thrown in the SecurityManager, does not mean that you need to install a SecurityManager.
The SecurityException's constructors are all public, so they are meant to be used (at least that's how I interpreted it ) and reusing the appropriate platform exceptions is generally considered a good habit.
This was the idea I had in my mind when I had to decide whether to create a custom SecurityException or not.