Package com.sun.mail.util
Class FolderClosedIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.sun.mail.util.FolderClosedIOException
- All Implemented Interfaces:
Serializable
A variant of FolderClosedException that can be thrown from methods
that only throw IOException. The getContent method will catch this
exception and translate it back to FolderClosedException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFolderClosedIOException
(Folder folder) ConstructorFolderClosedIOException
(Folder folder, String message) Constructor -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FolderClosedIOException
Constructor- Parameters:
folder
- the Folder
-
FolderClosedIOException
Constructor- Parameters:
folder
- the Foldermessage
- the detailed error message
-
-
Method Details
-
getFolder
Returns the dead Folder object- Returns:
- the dead Folder
-