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 ReadOnlyFolderException

javax.mail.MessagingException extended by javax.mail.ReadOnlyFolderException

public exception ReadOnlyFolderException
extends MessagingException

This exception is thrown when an attempt is made to open a folder read-write access when the folder is marked read-only.

The getMessage() method returns more detailed information about the error that caused this exception.


Constructor Summary

          Constructs a MessagingException with the specified folder.

          Constructs a MessagingException with the specified folder and the specified detail message.
 
Method Summary
 Folder

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

Constructor Detail

ReadOnlyFolderException

public ReadOnlyFolderException(Folder folder)
Constructs a MessagingException with the specified folder.

Parameters:
folder - the Folder

ReadOnlyFolderException

public ReadOnlyFolderException(Folder folder,
                               String message)
Constructs a MessagingException with the specified folder and the specified detail message.

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.