KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > admin > setting > SettingNullException


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

77 package com.ivata.groupware.admin.setting;
78
79 import com.ivata.mask.util.SystemException;
80
81
82 /**
83  * <p>An instance of this class gets thrown by {@link SettingsBean}
84  * if you try to access getStringSetting, getBooleanSetting or getIntegerSetting
85  * and there is no matching setting.</p>
86  *
87  * @since 2002-09-04
88  * @author Colin MacLeod
89  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
90  * @version $Revision: 1.2 $
91  */

92 public class SettingNullException extends SystemException {
93
94     /**
95      * <p>Creates a new instance of SettingNullException.</p>
96      *
97      * @param message a clear error message indicating what should be done to
98      * resolve this exception.
99      */

100     public SettingNullException(String JavaDoc message) {
101         super(message);
102     }
103 }
104
Popular Tags