KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jetspeed > services > security > JetspeedSecurityException


1 /*
2  * Copyright 2000-2001,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.jetspeed.services.security;
18
19 /**
20  * This is the basic abstract Jetspeed Security Exception
21  *
22  * @author <a HREF="mailto:david@bluesunrise.com">David Sean Taylor</a>
23  * @version $Id: JetspeedSecurityException.java,v 1.3 2004/02/23 03:58:11 jford Exp $
24  */

25
26 abstract public class JetspeedSecurityException extends org.apache.turbine.util.TurbineException {
27                                                //extends java.security.GeneralSecurityException {
28

29     /**
30      * Constructs a JetspeedSecurityException with no detail message. A detail
31      * message is a String that describes this particular exception.
32      */

33     public JetspeedSecurityException() {
34         super();
35     }
36
37     /**
38      * Construct a nested exception.
39      *
40      * @param msg The detail message.
41      * @param nested the exception or error that caused this exception
42      * to be thrown.
43      */

44     public JetspeedSecurityException( String JavaDoc msg, Throwable JavaDoc nested )
45     {
46         super(msg, nested);
47     }
48
49     /**
50      * Constructs a JetspeedSecurityException with the specified detail message.
51      * A detail message is a String that describes this particular
52      * exception.
53      *
54      * <p>
55      *
56      * @param msg the detail message.
57      */

58     public JetspeedSecurityException(String JavaDoc msg) {
59         super(msg);
60     }
61 }
Popular Tags