javax.mail
Class ReadOnlyFolderException
public class ReadOnlyFolderException
 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.
ReadOnlyFolderException
public ReadOnlyFolderException(Folder folder)
ReadOnlyFolderException
public ReadOnlyFolderException(Folder folder,
                               String message)
getFolder
public Folder getFolder()
 Returns the dead Folder object.