| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public exception ReadOnlyFolderException extends MessagingException
This exception is thrown when an attempt is made to open a folder read-write access when the folder is marked read-only.
The getMessage() method returns more detailed information about the error that caused this exception.
Constructor Summary | |
---|---|
ReadOnlyFolderException(Folder folder) Constructs a MessagingException with the specified folder. |
|
ReadOnlyFolderException(Folder folder, String message) Constructs a MessagingException with the specified folder and the specified detail message. |
Method Summary | |
---|---|
Folder |
Returns the dead Folder object. |
Methods inherited from class javax.mail.MessagingException |
---|
getCause, getNextException, setNextException, toString |
Constructor Detail |
---|
public ReadOnlyFolderException(Folder folder)
folder
- the Folderpublic ReadOnlyFolderException(Folder folder, String message)
folder
- the Foldermessage
- the detailed error messageMethod Detail |
---|
public Folder getFolder()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |