| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.google.code.javax.mail.MessagingException | |||
| ↳ | com.google.code.javax.mail.FolderClosedException | |||
This exception is thrown when a method is invoked on a Messaging object and the GmailFolder that owns that object has died due to some reason.
Following the exception, the GmailFolder is reset to the "closed" state. All messaging objects owned by the GmailFolder should be considered invalid. The GmailFolder can be reopened using the "open" method to reestablish the lost connection.
The getMessage() method returns more detailed information about the error that caused this exception.
| 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| folder | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor
| |||||||||||
Constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the dead GmailFolder object
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructor
| folder | The GmailFolder |
|---|---|
| message | The detailed error message |