1 package com.ozacc.mail;
2
3 /***
4 * SMTPサーバ接続の認証に失敗した際にスローされる例外。
5 *
6 * @since 1.0
7 * @author Tomohiro Otsuka
8 * @version $Id: MailAuthenticationException.java,v 1.2 2004/09/13 07:08:22 otsuka Exp $
9 */
10 public class MailAuthenticationException extends MailException {
11
12 /***
13 * @param message
14 */
15 public MailAuthenticationException(String message) {
16 super(message);
17 }
18
19 /***
20 * @param message
21 * @param cause
22 */
23 public MailAuthenticationException(String message, Throwable cause) {
24 super(message, cause);
25 }
26
27 public MailAuthenticationException(Throwable cause) {
28 super("Authentication failed: " + cause.getMessage(), cause);
29 }
30
31 }
32