public class FolderNotFoundException extends MessagingException
Constructor and Description |
---|
FolderNotFoundException()
Constructs a MessagingException with no detail message.
|
FolderNotFoundException(Folder folder)
Constructs a MessagingException with the specified folder.
|
FolderNotFoundException(Folder folder,
java.lang.String s)
Constructs a MessagingException with the specified folder and
the specified detail message.
|
FolderNotFoundException(java.lang.String s,
Folder folder)
Constructs a MessagingException 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 detail messagepublic FolderNotFoundException(java.lang.String s, Folder folder)
s
- the detail messagefolder
- the Folderpublic Folder getFolder()
null
.Copyright © 2012 Oracle. All Rights Reserved.