Mozilla/mozilla/msgsdk/java/protocol/MIME/src/MIMEException.java
prasad%netscape.com 876243b61b adding new sources
git-svn-id: svn://10.0.0.236/trunk@8400 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:22:59 +00:00

58 lines
1.7 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.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);
}
}