59 lines
1.7 KiB
Java
59 lines
1.7 KiB
Java
/*
|
|
* The contents of this file are subject to the Netscape Public
|
|
* License Version 1.1 (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.mime;
|
|
import java.io.*;
|
|
|
|
/**
|
|
* The MIMEException class represents an internal error in
|
|
* the MIME API implementation of the Messaging Access SDK.
|
|
* A MIMEException is thrown when the Messaging Access SDK
|
|
* detects a MIME API error condition.
|
|
* @author Prasad Yendluri
|
|
*/
|
|
public class MIMEException extends Exception {
|
|
|
|
/**
|
|
* Creates a MIMEException object.
|
|
* Default constructor for the MIMEException class.
|
|
*/
|
|
public MIMEException() {
|
|
super();
|
|
}
|
|
|
|
|
|
/**
|
|
* Creates a MIMEException object given a descriptive string.
|
|
* @param s String that describes the exception.
|
|
*/
|
|
public MIMEException(String s)
|
|
{
|
|
super(s);
|
|
netscape.messaging.mime.log.errorLog(s);
|
|
}
|
|
}
|
|
|