Package javax.mail
Class ReadOnlyFolderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.mail.MessagingException
-
- javax.mail.ReadOnlyFolderException
-
- All Implemented Interfaces:
java.io.Serializable
public class ReadOnlyFolderException extends MessagingException
An exception thrown when an attempt is made to open a folder in read-write mode when the folder can only be opened read-only.- Version:
- 1.4
- Author:
- Chris Burdess
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyFolderException(Folder folder)
ReadOnlyFolderException(Folder folder, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Folder
getFolder()
Returns the folder.-
Methods inherited from class javax.mail.MessagingException
getMessage, getNextException, printStackTrace, printStackTrace, setNextException
-
-