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: DateFormatterException.java,v $
031: * Revision 1.4 2005/10/11 18:54:06 colinmacleod
032: * Fixed some checkstyle and javadoc issues.
033: *
034: * Revision 1.3 2005/09/14 13:23:57 colinmacleod
035: * Added serialVersionUID.
036: *
037: * Revision 1.2 2005/04/09 18:04:18 colinmacleod
038: * Changed copyright text to GPL v2 explicitly.
039: *
040: * Revision 1.1 2005/01/19 12:49:24 colinmacleod
041: * Moved from ivata groupware.
042: *
043: * Revision 1.1 2004/09/30 15:16:04 colinmacleod
044: * Split off addressbook elements into security subproject.
045: *
046: * Revision 1.3 2004/03/21 21:16:19 colinmacleod
047: * Shortened name to ivata op.
048: *
049: * Revision 1.2 2004/02/01 22:00:34 colinmacleod
050: * Added full names to author tags
051: *
052: * Revision 1.1.1.1 2004/01/27 20:58:00 colinmacleod
053: * Moved ivata openportal to SourceForge..
054: *
055: * Revision 1.2 2003/10/17 12:36:13 jano
056: * fixing problems with building
057: * converting intranet -> portal
058: * Eclipse building
059: *
060: * Revision 1.1.1.1 2003/10/13 20:50:15 colin
061: * Restructured portal into subprojects
062: *
063: * Revision 1.4 2003/02/24 19:27:31 colin
064: * restructured file paths
065: *
066: * Revision 1.3 2003/02/04 17:43:52 colin
067: * copyright notice
068: *
069: * Revision 1.2 2002/11/12 10:12:13 colin
070: * removed superfluous JspTagException import
071: *
072: * Revision 1.1 2002/07/10 13:32:00 colin
073: * added date format exception to repository
074: * -----------------------------------------------------------------------------
075: */
076: package com.ivata.mask.web.format;
077:
078: import com.ivata.mask.util.SystemException;
079:
080: /**
081: * <p>An instance of this class gets thrown if there is any formatting
082: * exception in the {@link SettingDateFormatter SettingDateFormatter}.</p>
083: *
084: * @since ivata masks 0.5. (2002-07-09)
085: * @author Colin MacLeod
086: * <a href='colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
087: * @version $Revision: 1.4 $
088: */
089: public class DateFormatterException extends SystemException {
090: /**
091: * Serialization version (for <code>Serializable</code> interface).
092: */
093: private static final long serialVersionUID = 1L;
094:
095: /**
096: * <p>Creates a new instance of DateFormatterException.</p>
097: *
098: * @param message a clear error message indicating what should be done to
099: * resolve this exception.
100: */
101: public DateFormatterException(final String message) {
102: super (message);
103: }
104:
105: /**
106: * <p>Creates a new instance of DateFormatterException.</p>
107: *
108: * @param message a clear error message indicating what should be done to
109: * resolve this exception.
110: * @param cause wrapped exception which caused this one to happen.
111: */
112: public DateFormatterException(final String message,
113: final Throwable cause) {
114: super (message, cause);
115: }
116:
117: /**
118: * <p>Creates a new instance of DateFormatterException.</p>
119: *
120: * @param cause wrapped exception which caused this one to happen.
121: */
122: public DateFormatterException(final Throwable cause) {
123: super(cause);
124: }
125: }
|