public class ReadOnlyFolderException extends MessagingException
The getMessage() method returns more detailed information about the error that caused this exception.
| 构造器和说明 |
|---|
ReadOnlyFolderException(Folder folder)
Constructs a ReadOnlyFolderException with the specified
folder and no detail message.
|
ReadOnlyFolderException(Folder folder,
String message)
Constructs a ReadOnlyFolderException with the specified
detail message.
|
ReadOnlyFolderException(Folder folder,
String message,
Exception e)
Constructs a ReadOnlyFolderException with the specified
detail message and embedded exception.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Folder |
getFolder()
Returns the Folder object.
|
getCause, getNextException, setNextException, toStringpublic ReadOnlyFolderException(Folder folder)
folder - the Folderpublic ReadOnlyFolderException(Folder folder, String message)
folder - The Foldermessage - The detailed error messagepublic ReadOnlyFolderException(Folder folder, String message, Exception e)
folder - The Foldermessage - The detailed error messagee - The embedded exceptionpublic Folder getFolder()
Copyright © 2021 Oracle. All rights reserved.