| /*** |
| * $Id: SMTPConnectionClosedException.java,v 1.1 2002/04/03 01:04:37 brekke Exp $ |
| * |
| * NetComponents Internet Protocol Library |
| * Copyright (C) 1997-2002 Daniel F. Savarese |
| * |
| * This library is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU Lesser General Public |
| * License as published by the Free Software Foundation; either |
| * version 2.1 of the License, or (at your option) any later version. |
| * |
| * This library is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| * Lesser General Public License for more details. |
| * |
| * You should have received a copy of the GNU Lesser General Public |
| * License along with this library in the LICENSE file; if not, write |
| * to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, |
| * Boston, MA 02111-1307 USA |
| ***/ |
| |
| package com.oroinc.net.smtp; |
| |
| import java.io.*; |
| |
| /*** |
| * SMTPConnectionClosedException is used to indicate the premature or |
| * unexpected closing of an SMTP connection resulting from a |
| * <a href="com.oroinc.net.smtp.SMTPReply.html#SERVICE_NOT_AVAILABLE"> |
| * SMTPReply.SERVICE_NOT_AVAILABLE </a> response (SMTP reply code 421) to a |
| * failed SMTP command. This exception is derived from IOException and |
| * therefore may be caught either as an IOException or specifically as an |
| * SMTPConnectionClosedException. |
| * <p> |
| * <p> |
| * @author Daniel F. Savarese |
| * @see SMTP |
| * @see SMTPClient |
| ***/ |
| |
| public final class SMTPConnectionClosedException extends IOException { |
| |
| /*** Constructs a SMTPConnectionClosedException with no message ***/ |
| public SMTPConnectionClosedException() { |
| super(); |
| } |
| |
| /*** |
| * Constructs a SMTPConnectionClosedException with a specified message. |
| * <p> |
| * @param message The message explaining the reason for the exception. |
| ***/ |
| public SMTPConnectionClosedException(String message) { |
| super(message); |
| } |
| |
| } |