public class FolderNotFoundException extends MessagingException
Constructor and Description |
---|
FolderNotFoundException()
Constructs a FolderNotFoundException with no detail message.
|
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.
|
FolderNotFoundException(java.lang.String s,
Folder folder)
Constructs a FolderNotFoundException with the specified detail message
and the specified folder.
|
Modifier and Type | Method and Description |
---|---|
Folder |
getFolder()
Returns the offending Folder object.
|
getCause, getNextException, setNextException, toString
public 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
.