KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > business > mail > server > NoMailServerException


1 /*
2  * Copyright (c) 2001 - 2005 ivata limited.
3  * All rights reserved.
4  * -----------------------------------------------------------------------------
5  * ivata groupware 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: NoMailServerException.java,v $
31  * Revision 1.2 2005/04/09 17:20:01 colinmacleod
32  * Changed copyright text to GPL v2 explicitly.
33  *
34  * Revision 1.1.1.1 2005/03/10 17:51:22 colinmacleod
35  * Restructured ivata op around Hibernate/PicoContainer.
36  * Renamed ivata groupware.
37  *
38  * Revision 1.3 2004/11/12 15:57:25 colinmacleod
39  * Removed dependencies on SSLEXT.
40  * Moved Persistence classes to ivata masks.
41  *
42  * Revision 1.2 2004/07/13 19:48:12 colinmacleod
43  * Moved project to POJOs from EJBs.
44  * Applied PicoContainer to services layer (replacing session EJBs).
45  * Applied Hibernate to persistence layer (replacing entity EJBs).
46  *
47  * Revision 1.1 2004/03/21 20:38:43 colinmacleod
48  * First version.
49  * -----------------------------------------------------------------------------
50  */

51 package com.ivata.groupware.business.mail.server;
52
53 import com.ivata.mask.util.SystemException;
54
55
56 /**
57  * This exception is thrown if the
58  *
59  * @author Colin MacLeod
60  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
61  * @since 11-Mar-2004
62  * @version $Revision: 1.2 $
63  */

64 public class NoMailServerException extends SystemException {
65     /**
66      * Construct an exception which occurs the current security server cannot
67      * be resolved to a mail server.
68      */

69     public NoMailServerException() {
70         this(null);
71     }
72     /**
73      * Construct an exception which occurs the current security server cannot
74      * be resolved to a mail server.
75      *
76      * @param cause the class cast exception which was thrown to
77      * cause this exception
78      */

79     public NoMailServerException(ClassCastException JavaDoc cause) {
80         super(cause);
81     }
82 }
83
Popular Tags