public class FolderClosedException extends MessagingException
Following the exception, the Folder is reset to the "closed" state. All messaging objects owned by the Folder should be considered invalid. The Folder can be reopened using the "open" method to reestablish the lost connection.
The getMessage() method returns more detailed information about the error that caused this exception.
Constructor and Description |
---|
FolderClosedException(Folder folder)
Constructor
|
FolderClosedException(Folder folder,
String message)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Folder |
getFolder()
Returns the dead Folder object
|
getCause, getNextException, setNextException, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Copyright © 2018 JBoss by Red Hat. All rights reserved.