Serializable
public class FolderNotFoundException extends MessagingException
Constructor | Description |
---|---|
FolderNotFoundException() |
Constructs a FolderNotFoundException with no detail message.
|
FolderNotFoundException(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,
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.
|
Modifier and Type | Method | Description |
---|---|---|
Folder |
getFolder() |
Returns the offending Folder object.
|
getCause, getNextException, setNextException, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 © 2018 Oracle. All rights reserved.