|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.mail Class FolderClosedException
java.lang.Object java.lang.Throwable java.lang.Exception javax.mail.MessagingException javax.mail.FolderClosedException
- 所有已实现的接口:
- Serializable
public class 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.
- 作者:
- John Mani
- 另请参见:
- Serialized Form
构造器摘要 | |
---|---|
FolderClosedException(Folder folder)
Constructor |
|
FolderClosedException(Folder folder,
String message)
Constructor |
方法摘要 | |
---|---|
Folder |
getFolder()
Returns the dead Folder object |
类方法继承 javax.mail.MessagingException |
---|
getCause, getNextException, setNextException, toString |
类方法继承 java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造器详细信息 |
---|
FolderClosedException
public FolderClosedException(Folder folder)
- Constructor
- 参数:
folder
- the Folder
FolderClosedException
public FolderClosedException(Folder folder, String message)
- Constructor
- 参数:
folder
- the Foldermessage
- the detailed error message
方法详细信息 |
---|
getFolder
public Folder getFolder()
- Returns the dead Folder object
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.