| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.google.code.javax.mail.MessagingException | |||
| ↳ | com.google.code.javax.mail.SendFailedException | |||
Known Direct Subclasses
|
This exception is thrown when the message cannot be sent.
The exception includes those addresses to which the message could not be sent as well as the valid addresses to which the message was sent and valid addresses to which the message was not sent.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long | serialVersionUID | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Exception
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| invalid | |||||||||||
| validSent | |||||||||||
| validUnsent | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a SendFailedException with no detail message.
| |||||||||||
Constructs a SendFailedException with the specified detail message.
| |||||||||||
Constructs a SendFailedException with the specified
Exception and detail message.
| |||||||||||
Constructs a SendFailedException with the specified string
and the specified address objects.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the addresses to which this message could not be sent.
| |||||||||||
Return the addresses to which this message was sent succesfully.
| |||||||||||
Return the addresses that are valid but to which this message
was not sent.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a SendFailedException with no detail message.
Constructs a SendFailedException with the specified detail message.
| s | The detail message |
|---|
Constructs a SendFailedException with the specified Exception and detail message. The specified exception is chained to this exception.
| s | The detail message |
|---|---|
| e | The embedded exception |
Constructs a SendFailedException with the specified string and the specified address objects.
| msg | The detail message |
|---|---|
| ex | The embedded exception |
| validSent | Valid addresses to which message was sent |
| validUnsent | Valid addresses to which message was not sent |
| invalid | The invalid addresses |
Return the addresses to which this message could not be sent.
Return the addresses to which this message was sent succesfully.
Return the addresses that are valid but to which this message was not sent.