KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > service > exception > MailAddressException


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package com.blandware.atleap.service.exception;
17
18 import org.springframework.mail.MailException;
19
20
21 /**
22  * <p>This exception is thrown when there is an error in address
23  * </p>
24  * <p><a HREF="MailAddressException.java.htm"><i>View Source</i></a>
25  * </p>
26  *
27  * @author Sergey Zubtcovskii <a HREF="mailto:sergey.zubtcovskii@blandware.com">&lt;sergey.zubtcovskii@blandware.com&gt;</a>
28  * @version $Revision: 1.2 $ $Date: 2005/08/02 14:53:41 $
29  */

30 public class MailAddressException extends MailException {
31     //~ Constructors ===========================================================
32

33     /**
34      * Creates new instance of MailAddressException with specified detailed message
35      *
36      * @param message Detailed message
37      */

38     public MailAddressException(String JavaDoc message) {
39         super(message);
40     }
41
42     /**
43      * Creates new instance of MailAddressException with specified detailed message and cause
44      *
45      * @param message Detailed message
46      * @param cause Cause
47      */

48     public MailAddressException(String JavaDoc message, Throwable JavaDoc cause) {
49         super(message, cause);
50     }
51
52 }
53
Popular Tags