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 FolderNotFoundException

javax.mail.MessagingException extended by javax.mail.FolderNotFoundException

public exception FolderNotFoundException
extends MessagingException

This exception is thrown by Folder methods, when those methods are invoked on a non existent folder.


Constructor Summary

          Constructs a MessagingException with no detail message.

          Constructs a MessagingException with the specified folder.

          Constructs a MessagingException with the specified folder and the specified detail message.

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

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

Constructor Detail

FolderNotFoundException

public FolderNotFoundException()
Constructs a MessagingException with no detail message.


FolderNotFoundException

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

Parameters:
folder - the Folder

FolderNotFoundException

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

Parameters:
folder - the Folder
s - the detail message

FolderNotFoundException

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

Parameters:
s - the detail message
folder - the Folder
Method Detail

getFolder

public Folder getFolder()
Returns the offending Folder object.

Returns:
the Folder object. Note that the returned value can be null.


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.