01: /*
02: * Copyright (c) 2001 - 2005 ivata limited.
03: * All rights reserved.
04: * -----------------------------------------------------------------------------
05: * ivata groupware may be redistributed under the GNU General Public
06: * License as published by the Free Software Foundation;
07: * version 2 of the License.
08: *
09: * 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: NoMailServerException.java,v $
31: * Revision 1.3 2005/09/14 16:16:52 colinmacleod
32: * Removed unused local and class variables.
33: * Added serialVersionUID.
34: *
35: * Revision 1.2 2005/04/09 17:20:01 colinmacleod
36: * Changed copyright text to GPL v2 explicitly.
37: *
38: * Revision 1.1.1.1 2005/03/10 17:51:22 colinmacleod
39: * Restructured ivata op around Hibernate/PicoContainer.
40: * Renamed ivata groupware.
41: *
42: * Revision 1.3 2004/11/12 15:57:25 colinmacleod
43: * Removed dependencies on SSLEXT.
44: * Moved Persistence classes to ivata masks.
45: *
46: * Revision 1.2 2004/07/13 19:48:12 colinmacleod
47: * Moved project to POJOs from EJBs.
48: * Applied PicoContainer to services layer (replacing session EJBs).
49: * Applied Hibernate to persistence layer (replacing entity EJBs).
50: *
51: * Revision 1.1 2004/03/21 20:38:43 colinmacleod
52: * First version.
53: * -----------------------------------------------------------------------------
54: */
55: package com.ivata.groupware.business.mail.server;
56:
57: import com.ivata.mask.util.SystemException;
58:
59: /**
60: * This exception is thrown if the
61: *
62: * @author Colin MacLeod
63: * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
64: * @since 11-Mar-2004
65: * @version $Revision: 1.3 $
66: */
67: public class NoMailServerException extends SystemException {
68: /**
69: * Serialization version (for <code>Serializable</code> interface).
70: */
71: private static final long serialVersionUID = 1L;
72:
73: /**
74: * Construct an exception which occurs the current security server cannot
75: * be resolved to a mail server.
76: */
77: public NoMailServerException() {
78: this (null);
79: }
80:
81: /**
82: * Construct an exception which occurs the current security server cannot
83: * be resolved to a mail server.
84: *
85: * @param cause the class cast exception which was thrown to
86: * cause this exception
87: */
88: public NoMailServerException(ClassCastException cause) {
89: super(cause);
90: }
91: }
|