- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.mail;
-
- /**
- * The exception thrown when an invalid method is invoked on an expunged
- * Message. The only valid methods on an expunged Message are
- * <code>isExpunged()</code> and <code>getMessageNumber()</code>.
- *
- * @see javax.mail.Message#isExpunged()
- * @see javax.mail.Message#getMessageNumber()
- * @author John Mani
- */
-
- public class MessageRemovedException extends MessagingException {
- /**
- * Constructs a MessageRemovedException with no detail message.
- */
- public MessageRemovedException() {
- super();
- }
-
- /**
- * Constructs a MessageRemovedException with the specified detail message.
- * @param s the detail message
- */
- public MessageRemovedException(String s) {
- super(s);
- }
- }