com.sun.mail.util
Class MessageRemovedIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.sun.mail.util.MessageRemovedIOException
All Implemented Interfaces:
java.io.Serializable

public class MessageRemovedIOException
extends java.io.IOException

A variant of MessageRemovedException that can be thrown from methods that only throw IOException. The getContent method will catch this exception and translate it back to MessageRemovedException.

Author:
Bill Shannon
See Also:
Message.isExpunged(), Message.getMessageNumber(), Serialized Form

Constructor Summary
MessageRemovedIOException()
          Constructs a MessageRemovedIOException with no detail message.
MessageRemovedIOException(java.lang.String s)
          Constructs a MessageRemovedIOException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageRemovedIOException

public MessageRemovedIOException()
Constructs a MessageRemovedIOException with no detail message.


MessageRemovedIOException

public MessageRemovedIOException(java.lang.String s)
Constructs a MessageRemovedIOException with the specified detail message.

Parameters:
s - the detail message


Copyright © 2011 Sun Microsystems, Inc.. All Rights Reserved.