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,
String s)
Constructs a FolderNotFoundException with the specified
detail message.
|
FolderNotFoundException(Folder folder,
String s,
Exception e)
Constructs a FolderNotFoundException with the specified
detail message and embedded exception.
|
FolderNotFoundException(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
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public FolderNotFoundException()
public FolderNotFoundException(Folder folder)
folder
- The Folderpublic FolderNotFoundException(Folder folder, String s)
folder
- The Folders
- The detailed error messagepublic FolderNotFoundException(Folder folder, String s, Exception e)
folder
- The Folders
- The detailed error messagee
- The embedded exceptionpublic Folder getFolder()
null
.Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.