java.io.Serializable
public class ReadOnlyFolderException extends MessagingException
The getMessage() method returns more detailed information about the error that caused this exception.
Constructor | Description |
---|---|
ReadOnlyFolderException(Folder folder) |
Constructs a ReadOnlyFolderException with the specified
folder and no detail message.
|
ReadOnlyFolderException(Folder folder,
java.lang.String message) |
Constructs a ReadOnlyFolderException with the specified
detail message.
|
ReadOnlyFolderException(Folder folder,
java.lang.String message,
java.lang.Exception e) |
Constructs a ReadOnlyFolderException with the specified
detail message and embedded exception.
|
Modifier and Type | Method | Description |
---|---|---|
Folder |
getFolder() |
Returns the Folder object.
|
getCause, getNextException, setNextException, toString
public ReadOnlyFolderException(Folder folder)
folder
- the Folderpublic ReadOnlyFolderException(Folder folder, java.lang.String message)
folder
- The Foldermessage
- The detailed error messagepublic ReadOnlyFolderException(Folder folder, java.lang.String message, java.lang.Exception e)
folder
- The Foldermessage
- The detailed error messagee
- The embedded exceptionpublic Folder getFolder()
Copyright © 2018 Oracle. All rights reserved.