KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > admin > security > server > SecurityServerException


1 /*
2  * $Id: SecurityServerException.java,v 1.2 2005/04/09 17:19:57 colinmacleod Exp $
3  * Copyright (c) 2001 - 2005 ivata limited.
4  * All rights reserved.
5  * -----------------------------------------------------------------------------
6  * ivata groupware may be redistributed under the GNU General Public
7  * License as published by the Free Software Foundation;
8  * version 2 of the License.
9  *
10  * These programs are free software; you can redistribute them and/or
11  * modify them under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; version 2 of the License.
13  *
14  * These programs are distributed in the hope that they will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17  *
18  * See the GNU General Public License in the file LICENSE.txt for more
19  * details.
20  *
21  * If you would like a copy of the GNU General Public License write to
22  *
23  * Free Software Foundation, Inc.
24  * 59 Temple Place - Suite 330
25  * Boston, MA 02111-1307, USA.
26  *
27  *
28  * To arrange commercial support and licensing, contact ivata at
29  * http://www.ivata.com/contact.jsp
30  * -----------------------------------------------------------------------------
31  * $Log: SecurityServerException.java,v $
32  * Revision 1.2 2005/04/09 17:19:57 colinmacleod
33  * Changed copyright text to GPL v2 explicitly.
34  *
35  * Revision 1.1.1.1 2005/03/10 17:51:41 colinmacleod
36  * Restructured ivata op around Hibernate/PicoContainer.
37  * Renamed ivata groupware.
38  *
39  * Revision 1.2 2004/11/12 15:57:19 colinmacleod
40  * Removed dependencies on SSLEXT.
41  * Moved Persistence classes to ivata masks.
42  *
43  * Revision 1.1 2004/09/30 15:15:58 colinmacleod
44  * Split off addressbook elements into security subproject.
45  *
46  * Revision 1.5 2004/07/13 19:41:12 colinmacleod
47  * Moved project to POJOs from EJBs.
48  * Applied PicoContainer to services layer (replacing session EJBs).
49  * Applied Hibernate to persistence layer (replacing entity EJBs).
50  *
51  * Revision 1.4 2004/03/21 21:16:05 colinmacleod
52  * Shortened name to ivata op.
53  *
54  * Revision 1.3 2004/03/21 20:19:46 colinmacleod
55  * Added constructor with just a string message.
56  *
57  * Revision 1.2 2004/03/10 22:40:22 colinmacleod
58  * Changed to EJBException.
59  *
60  * Revision 1.1.1.1 2004/01/27 20:57:45 colinmacleod
61  * Moved ivata openportal to SourceForge..
62  *
63  * Revision 1.1.1.1 2003/10/13 20:50:07 colin
64  * Restructured portal into subprojects
65  * -----------------------------------------------------------------------------
66  */

67 package com.ivata.groupware.admin.security.server;
68
69 import com.ivata.mask.util.SystemException;
70
71
72 /**
73  * <p>Thrown by subclasses of <code>Session</code> if a user cannot be
74  * authenticated.</p>
75  *
76  * @author Colin MacLeod
77  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
78  */

79 public class SecurityServerException extends SystemException {
80
81     /**
82      * <p>Create a new exception which wraps the one supplied.</p>
83      *
84      * @param cause specific exception which caused this one.
85      */

86     public SecurityServerException(Exception JavaDoc cause) {
87         super(cause);
88     }
89     /**
90      * Create a new exception with the causual text as a string message.
91      *
92      * @param message information about when the error happened.
93      */

94     public SecurityServerException(String JavaDoc message) {
95         super(message);
96     }
97
98     /**
99      * Create a new exception, giving additional information to the supplied
100      * exception which caused this to happen.
101      *
102      * @param message additional information about when the error happened.
103      * @param cause specific exception which caused this one.
104      */

105     public SecurityServerException(String JavaDoc message, Exception JavaDoc cause) {
106         super(message, cause);
107     }
108 }
109
Popular Tags