This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.mail
exception FolderClosedException

javax.mail.MessagingException extended by javax.mail.FolderClosedException

public exception FolderClosedException
extends MessagingException

This exception is thrown when a method is invoked on a Messaging object and the Folder that owns that object has died due to some reason.

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 Summary

          Constructor

          Constructor
 
Method Summary
 Folder

          Returns the dead Folder object
 
Methods inherited from class javax.mail.MessagingException
getCause, getNextException, setNextException, toString
 

Constructor Detail

FolderClosedException

public FolderClosedException(Folder folder)
Constructor

Parameters:
folder - the Folder

FolderClosedException

public FolderClosedException(Folder folder,
                             String message)
Constructor

Parameters:
folder - the Folder
message - the detailed error message
Method Detail

getFolder

public Folder getFolder()
Returns the dead Folder object



This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.