001: // Source file: h:/cvslocal/ivata groupware/src/com/ivata/intranet/admin/setting/SettingsDataTypeException.java
002:
003: /*
004: * Copyright (c) 2001 - 2005 ivata limited.
005: * All rights reserved.
006: * -----------------------------------------------------------------------------
007: * ivata groupware may be redistributed under the GNU General Public
008: * License as published by the Free Software Foundation;
009: * version 2 of the License.
010: *
011: * These programs are free software; you can redistribute them and/or
012: * modify them under the terms of the GNU General Public License
013: * as published by the Free Software Foundation; version 2 of the License.
014: *
015: * These programs are distributed in the hope that they will be useful,
016: * but WITHOUT ANY WARRANTY; without even the implied warranty of
017: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
018: *
019: * See the GNU General Public License in the file LICENSE.txt for more
020: * details.
021: *
022: * If you would like a copy of the GNU General Public License write to
023: *
024: * Free Software Foundation, Inc.
025: * 59 Temple Place - Suite 330
026: * Boston, MA 02111-1307, USA.
027: *
028: *
029: * To arrange commercial support and licensing, contact ivata at
030: * http://www.ivata.com/contact.jsp
031: * -----------------------------------------------------------------------------
032: * $Log: SettingsDataTypeException.java,v $
033: * Revision 1.1 2005/09/29 13:06:05 colinmacleod
034: * First version of setting subproject.
035: * Existing classes restructured, new setting user interface created.
036: * Flexible XML UI configuration makes it easy to reuse the same web pages in
037: * other projects.
038: * Web files work as stand-alone webapp for testing.
039: *
040: * Revision 1.3 2005/09/14 16:10:22 colinmacleod
041: * Removed unused local and class variables.
042: * Added serialVersionUID.
043: *
044: * Revision 1.2 2005/04/09 17:19:57 colinmacleod
045: * Changed copyright text to GPL v2 explicitly.
046: *
047: * Revision 1.1.1.1 2005/03/10 17:51:36 colinmacleod
048: * Restructured ivata op around Hibernate/PicoContainer.
049: * Renamed ivata groupware.
050: *
051: * Revision 1.2 2004/11/12 15:57:19 colinmacleod
052: * Removed dependencies on SSLEXT.
053: * Moved Persistence classes to ivata masks.
054: *
055: * Revision 1.1 2004/09/30 15:15:59 colinmacleod
056: * Split off addressbook elements into security subproject.
057: *
058: * Revision 1.4 2004/07/13 19:54:31 colinmacleod
059: * Moved project to POJOs from EJBs.
060: * Applied PicoContainer to services layer (replacing session EJBs).
061: * Applied Hibernate to persistence layer (replacing entity EJBs).
062: *
063: * Revision 1.3 2004/03/21 21:16:05 colinmacleod
064: * Shortened name to ivata op.
065: *
066: * Revision 1.2 2004/02/01 22:00:32 colinmacleod
067: * Added full names to author tags
068: *
069: * Revision 1.1.1.1 2004/01/27 20:57:46 colinmacleod
070: * Moved ivata openportal to SourceForge..
071: *
072: * Revision 1.3 2003/10/17 12:36:12 jano
073: * fixing problems with building
074: * converting intranet -> portal
075: * Eclipse building
076: *
077: * Revision 1.2 2003/10/15 13:04:21 colin
078: * fixing for XDoclet
079: *
080: * Revision 1.1 2003/02/24 18:56:15 colin
081: * added to admin
082: *
083: * Revision 1.4 2003/02/04 17:43:50 colin
084: * copyright notice
085: *
086: * Revision 1.3 2002/06/21 12:10:03 colin
087: * cosmetic changes. tidied up documentation
088: *
089: * Revision 1.2 2002/06/13 11:22:10 colin
090: * first version with rose model integration.
091: *
092: * Revision 1.1 2002/04/27 17:36:44 colin
093: * first compliling version in EJB/JBuilder project
094: *
095: * Revision 1.1.1.1 2002/04/22 13:51:47 colin
096: * EJB version of the intranet project
097: *
098: * Revision 1.1 2002/02/03 13:30:08 colin
099: * first version; used in Settings class to indicate that the wrong database data type was set
100: * -----------------------------------------------------------------------------
101: */
102: package com.ivata.groupware.admin.setting;
103:
104: import com.ivata.mask.util.SystemException;
105:
106: /**
107: * <p>An instance of this class gets thrown by com.ivata.groupware.admin.settingsBean
108: * if you try to access getStringSetting, getBooleanSetting or getIntegerSetting
109: * and the datatype stored doesn't match the type requested.</p>
110: *
111: * @since 2002-02-03
112: * @author Colin MacLeod
113: * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
114: * @see com.ivata.groupware.web.theme.Theme
115: * @version $Revision: 1.1 $
116: */
117: public class SettingsDataTypeException extends SystemException {
118:
119: /**
120: * Serialization version (for <code>Serializable</code> interface).
121: */
122: private static final long serialVersionUID = 1L;
123:
124: /**
125: * <p>Creates a new instance of SettingDataTypeException.</p>
126: *
127: * @param message a clear error Message indicating what should be
128: * done to
129: * resolve this exception.
130: *
131: */
132: public SettingsDataTypeException(String message) {
133: super(message);
134: }
135: }
|