001: /*
002: * Copyright (c) 2001 - 2005 ivata limited.
003: * All rights reserved.
004: * -----------------------------------------------------------------------------
005: * ivata masks may be redistributed under the GNU General Public
006: * License as published by the Free Software Foundation;
007: * version 2 of the License.
008: *
009: * These programs are free software; you can redistribute them and/or
010: * modify them under the terms of the GNU General Public License
011: * as published by the Free Software Foundation; version 2 of the License.
012: *
013: * These programs are distributed in the hope that they will be useful,
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
016: *
017: * See the GNU General Public License in the file LICENSE.txt for more
018: * details.
019: *
020: * If you would like a copy of the GNU General Public License write to
021: *
022: * Free Software Foundation, Inc.
023: * 59 Temple Place - Suite 330
024: * Boston, MA 02111-1307, USA.
025: *
026: *
027: * To arrange commercial support and licensing, contact ivata at
028: * http://www.ivata.com/contact.jsp
029: * -----------------------------------------------------------------------------
030: * $Log: ThemeVersionException.java,v $
031: * Revision 1.5 2005/10/02 14:06:35 colinmacleod
032: * Added/improved log4j logging.
033: *
034: * Revision 1.4 2005/09/14 13:39:53 colinmacleod
035: * Added serialVersionUID.
036: *
037: * Revision 1.3 2005/04/09 18:04:22 colinmacleod
038: * Changed copyright text to GPL v2 explicitly.
039: *
040: * Revision 1.2 2005/01/19 13:07:22 colinmacleod
041: * Updated comment format to include version in since line.
042: *
043: * Revision 1.1 2005/01/06 22:03:48 colinmacleod
044: * Moved up a version number.
045: * Changed copyright notices to 2005.
046: * Updated the documentation:
047: * - started working on multiproject:site docu.
048: * - changed the logo.
049: * Added checkstyle and fixed LOADS of style issues.
050: * Added separate thirdparty subproject.
051: * Added struts (in web), util and webgui (in webtheme) from ivata op.
052: *
053: * Revision 1.3 2004/03/21 21:16:38 colinmacleod
054: * Shortened name to ivata op.
055: *
056: * Revision 1.2 2004/02/01 22:07:32 colinmacleod
057: * Added full names to author tags
058: *
059: * Revision 1.1.1.1 2004/01/27 20:59:52 colinmacleod
060: * Moved ivata op to SourceForge.
061: *
062: * Revision 1.2 2003/10/15 14:13:40 colin
063: * Fixes for XDoclet.
064: *
065: * Revision 1.1 2003/02/24 19:33:33 colin
066: * Moved to new subproject.
067: *
068: * Revision 1.3 2003/02/04 17:43:46 colin
069: * copyright notice
070: *
071: * Revision 1.2 2002/11/12 09:03:55 colin
072: * now extends RuntimeException rather than JspTagException
073: *
074: * Revision 1.1 2002/06/21 11:58:37 colin
075: * restructured com.ivata.mask.web into separate sub-categories:
076: * format, JavaScript, theme and tree.
077: *
078: * Revision 1.2 2002/05/10 12:44:12 colin
079: * Updated and extended JavaDoc
080: *
081: * Revision 1.1 2002/04/26 13:53:43 colin
082: * move to EJB/JBuilder project
083: *
084: * Revision 1.2 2002/01/25 18:04:06 colin
085: * Formatted for JavaDoc
086: *
087: * Revision 1.1 2002/01/20 23:54:04 colin
088: * first version of theme version and supported tag checking
089: * -----------------------------------------------------------------------------
090: */
091: package com.ivata.mask.web.theme;
092:
093: /**
094: * <p>
095: * An instance of this class gets thrown by {@link
096: * com.ivata.mask.web.theme.Theme Theme} when the version of a theme does not
097: * match the version the theme expected. (It probably means you have an old
098: * version of {@link com.ivata.mask.web.theme.Theme Theme}installed on your
099: * system.)
100: * </p>
101: *
102: * @since ivata masks 0.4 (2002-01-11)
103: * @author Colin MacLeod
104: * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
105: * @see com.ivata.mask.web.theme.Theme
106: * @version $Revision: 1.5 $
107: */
108: public class ThemeVersionException extends RuntimeException {
109: /**
110: * Serialization version (for <code>Serializable</code> interface).
111: */
112: private static final long serialVersionUID = 1L;
113:
114: /**
115: * <p>
116: * Creates a new instance of ThemeVersionException.
117: * </p>
118: *
119: * @param message a clear error Message indicating what should be done to
120: * resolve this exception.
121: */
122: public ThemeVersionException(final String message) {
123: // just call the exception constructor
124: super(message);
125: }
126: }
|