Module jakarta.mail

Class 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

      Constructors 
      Constructor Description
      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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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