|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.mail.MessagingException
javax.mail.FolderClosedException
public class FolderClosedException
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.
| 构造方法摘要 | |
|---|---|
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 |
| 构造方法详细信息 |
|---|
public FolderClosedException(Folder folder)
folder - the Folder
public FolderClosedException(Folder folder,
String message)
folder - the Foldermessage - the detailed error message| 方法详细信息 |
|---|
public Folder getFolder()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||