KickJava   Java API By Example, From Geeks To Geeks.

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


1 // Source file: h:/cvslocal/ivata groupware/src/com/ivata/intranet/admin/setting/SettingsDataTypeException.java
2

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

91 package com.ivata.groupware.admin.setting;
92
93 import com.ivata.mask.util.SystemException;
94
95
96 /**
97  * <p>An instance of this class gets thrown by com.ivata.groupware.admin.settingsBean
98  * if you try to access getStringSetting, getBooleanSetting or getIntegerSetting
99  * and the datatype stored doesn't match the type requested.</p>
100  *
101  * @since 2002-02-03
102  * @author Colin MacLeod
103  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
104  * @see com.ivata.groupware.web.theme.Theme
105  * @version $Revision: 1.2 $
106  */

107 public class SettingsDataTypeException extends SystemException {
108
109     /**
110      * <p>Creates a new instance of SettingDataTypeException.</p>
111      *
112      * @param message a clear error Message indicating what should be
113      * done to
114      * resolve this exception.
115      *
116      */

117     public SettingsDataTypeException(String JavaDoc message) {
118         super(message);
119     }
120 }
121
Popular Tags