56 lines
1.6 KiB
Java
56 lines
1.6 KiB
Java
/*
|
|
* The contents of this file are subject to the Netscape Public License
|
|
* Version 1.0 (the "License"); you may not use this file except in compliance
|
|
* with the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/NPL/.
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the License.
|
|
*
|
|
* The Original Code is the Netscape Messaging Access SDK Version 3.5 code,
|
|
* released on or about June 15, 1998.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape Communications
|
|
* Corporation. Portions created by Netscape are Copyright (C) 1998 Netscape
|
|
* Communications Corporation. All Rights Reserved.
|
|
*
|
|
* Contributor(s): ______________________________________.
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 1997 and 1998 Netscape Communications Corporation
|
|
* (http://home.netscape.com/misc/trademarks.html)
|
|
*/
|
|
|
|
package netscape.messaging.smtp;
|
|
|
|
import java.io.*;
|
|
|
|
/**
|
|
*The SMTPException class represents an internal error in the SMTP
|
|
*implementation of the Messaging Access SDK.
|
|
*@author derekt@netscape.com
|
|
*@version 1.0
|
|
*/
|
|
|
|
public class SMTPException extends IOException
|
|
{
|
|
/**
|
|
*Creates an SMTPException object.
|
|
*Default constructor for the SMTPException class.
|
|
*/
|
|
public SMTPException()
|
|
{
|
|
}
|
|
|
|
/**
|
|
*Creates an SMTPException object that includes a descriptive string.
|
|
*@param msg String that describes the exception.
|
|
*/
|
|
public SMTPException(String msg)
|
|
{
|
|
super(msg);
|
|
}
|
|
}
|