KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > security > SecurityException


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

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 JavaDoc {
19
20     //javadoc is inherited
21
public SecurityException() {
22         super();
23     }
24
25     //javadoc is inherited
26
public SecurityException(String JavaDoc message) {
27         super(message);
28     }
29
30     //javadoc is inherited
31
public SecurityException(Throwable JavaDoc cause) {
32         super(cause.getClass().getName() + ": " + cause.getMessage());
33         initCause(cause);
34     }
35
36     //javadoc is inherited
37
public SecurityException(String JavaDoc message, Throwable JavaDoc cause) {
38         super(message);
39         initCause(cause);
40     }
41
42 }
43
Popular Tags