1 /*
2 * Copyright (c) 2001 - 2005 ivata limited.
3 * All rights reserved.
4 * -----------------------------------------------------------------------------
5 * ivata masks 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: DateFormatterException.java,v $
31 * Revision 1.2 2005/04/09 18:04:18 colinmacleod
32 * Changed copyright text to GPL v2 explicitly.
33 *
34 * Revision 1.1 2005/01/19 12:49:24 colinmacleod
35 * Moved from ivata groupware.
36 *
37 * Revision 1.1 2004/09/30 15:16:04 colinmacleod
38 * Split off addressbook elements into security subproject.
39 *
40 * Revision 1.3 2004/03/21 21:16:19 colinmacleod
41 * Shortened name to ivata op.
42 *
43 * Revision 1.2 2004/02/01 22:00:34 colinmacleod
44 * Added full names to author tags
45 *
46 * Revision 1.1.1.1 2004/01/27 20:58:00 colinmacleod
47 * Moved ivata openportal to SourceForge..
48 *
49 * Revision 1.2 2003/10/17 12:36:13 jano
50 * fixing problems with building
51 * converting intranet -> portal
52 * Eclipse building
53 *
54 * Revision 1.1.1.1 2003/10/13 20:50:15 colin
55 * Restructured portal into subprojects
56 *
57 * Revision 1.4 2003/02/24 19:27:31 colin
58 * restructured file paths
59 *
60 * Revision 1.3 2003/02/04 17:43:52 colin
61 * copyright notice
62 *
63 * Revision 1.2 2002/11/12 10:12:13 colin
64 * removed superfluous JspTagException import
65 *
66 * Revision 1.1 2002/07/10 13:32:00 colin
67 * added date format exception to repository
68 * -----------------------------------------------------------------------------
69 */
70 package com.ivata.mask.web.format;
71
72 import com.ivata.mask.util.SystemException;
73
74
75 /***
76 * <p>An instance of this class gets thrown if there is any formatting
77 * exception in the {@link SettingDateFormatter SettingDateFormatter}.</p>
78 *
79 * @since ivata masks 0.5. (2002-07-09)
80 * @author Colin MacLeod
81 * <a href='colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
82 * @version $Revision: 1.2 $
83 */
84 public class DateFormatterException extends SystemException {
85 /***
86 * <p>Creates a new instance of DateFormatterException.</p>
87 *
88 * @param message a clear error message indicating what should be done to
89 * resolve this exception.
90 */
91 public DateFormatterException(final String message) {
92 super(message);
93 }
94 /***
95 * <p>Creates a new instance of DateFormatterException.</p>
96 *
97 * @param cause wrapped exception which caused this one to happen.
98 */
99 public DateFormatterException(final Throwable cause) {
100 super(cause);
101 }
102 }