01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.security;
11:
12: /**
13: * Thrown by the security classes to indicate a security violation/malfunction.
14: *
15: * @author Eduard Witteveen
16: * @version $Id: SecurityException.java,v 1.7 2004/03/26 15:48:26 michiel Exp $
17: */
18: public class SecurityException extends java.lang.SecurityException {
19:
20: //javadoc is inherited
21: public SecurityException() {
22: super ();
23: }
24:
25: //javadoc is inherited
26: public SecurityException(String message) {
27: super (message);
28: }
29:
30: //javadoc is inherited
31: public SecurityException(Throwable cause) {
32: super (cause.getClass().getName() + ": " + cause.getMessage());
33: initCause(cause);
34: }
35:
36: //javadoc is inherited
37: public SecurityException(String message, Throwable cause) {
38: super(message);
39: initCause(cause);
40: }
41:
42: }
|