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,
String s)
Constructs a MessagingException with the specified folder and
the specified detail message.
|
FolderNotFoundException(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
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 detail messagepublic Folder getFolder()
null
.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.