java.io.Serializablepublic class FolderNotFoundException extends MessagingException
| Constructor | Description |
|---|---|
FolderNotFoundException() |
Constructs a FolderNotFoundException with no detail message.
|
FolderNotFoundException(java.lang.String s,
Folder folder) |
Constructs a FolderNotFoundException with the specified detail message
and the specified folder.
|
FolderNotFoundException(Folder folder) |
Constructs a FolderNotFoundException.
|
FolderNotFoundException(Folder folder,
java.lang.String s) |
Constructs a FolderNotFoundException with the specified
detail message.
|
FolderNotFoundException(Folder folder,
java.lang.String s,
java.lang.Exception e) |
Constructs a FolderNotFoundException with the specified
detail message and embedded exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
Folder |
getFolder() |
Returns the offending Folder object.
|
getCause, getNextException, setNextException, toStringpublic FolderNotFoundException()
public FolderNotFoundException(Folder folder)
folder - The Folderpublic FolderNotFoundException(Folder folder, java.lang.String s)
folder - The Folders - The detailed error messagepublic FolderNotFoundException(Folder folder, java.lang.String s, java.lang.Exception e)
folder - The Folders - The detailed error messagee - The embedded exceptionpublic FolderNotFoundException(java.lang.String s,
Folder folder)
s - The detail messagefolder - The Folderpublic Folder getFolder()
null.Copyright © 2018 Oracle. All rights reserved.