Top Description Fields Constructors Methods
jakarta.mail

public Class MessageRemovedException

extends MessagingException
Class Inheritance

The exception thrown when an invalid method is invoked on an expunged Message. The only valid methods on an expunged Message are isExpunged() and getMessageNumber().
Author
John Mani
See Also
jakarta.mail.Message#isExpunged(), jakarta.mail.Message#getMessageNumber()

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
MessageRemovedException()

Constructs a MessageRemovedException with no detail message.

public
MessageRemovedException(String
The detailed error message
s
)

Constructs a MessageRemovedException with the specified detail message.

public
MessageRemovedException(String
The detailed error message
s
,
Exception
The embedded exception
e
)

Constructs a MessageRemovedException with the specified detail message and embedded exception.

Method Summary

Inherited from jakarta.mail.MessagingException:
getCausegetNextExceptionsetNextExceptiontoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.mail.MessagingException.serialVersionUID.

Constructor Detail

MessageRemovedExceptionback to summary
public MessageRemovedException()

Constructs a MessageRemovedException with no detail message.

MessageRemovedExceptionback to summary
public MessageRemovedException(String s)

Constructs a MessageRemovedException with the specified detail message.

Parameters
s:String

The detailed error message

MessageRemovedExceptionback to summary
public MessageRemovedException(String s, Exception e)

Constructs a MessageRemovedException with the specified detail message and embedded exception. The exception is chained to this exception.

Parameters
s:String

The detailed error message

e:Exception

The embedded exception

Since
JavaMail 1.5