Top Description Fields Constructors Methods
com.sun.mail.util

public Class FolderClosedIOException

extends IOException
Class Inheritance
Imports
java.io.IOException, javax.mail.Folder

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.
Author
Bill Shannon

Field Summary

Modifier and TypeField and Description
private transient Folder
private static final long

Constructor Summary

AccessConstructor and Description
public
FolderClosedIOException(Folder
the Folder
folder
)

Constructor

public
FolderClosedIOException(Folder
the Folder
folder
,
String
the detailed error message
message
)

Constructor

Method Summary

Modifier and TypeMethod and Description
public Folder

Returns:

the dead Folder
getFolder
()

Returns the dead Folder object

Field Detail

folderback to summary
private transient Folder folder
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

FolderClosedIOExceptionback to summary
public FolderClosedIOException(Folder folder)

Constructor

Parameters
folder:Folder

the Folder

FolderClosedIOExceptionback to summary
public FolderClosedIOException(Folder folder, String message)

Constructor

Parameters
folder:Folder

the Folder

message:String

the detailed error message

Method Detail

getFolderback to summary
public Folder getFolder()

Returns the dead Folder object

Returns:Folder

the dead Folder