javax.mail
Class StoreClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.mail.MessagingException
javax.mail.StoreClosedException
- All Implemented Interfaces:
- java.io.Serializable
public class StoreClosedException
- extends MessagingException
An exception thrown when a method is invoked on a message or folder
whose owner store has been closed for some reason.
The connect method may be invoked on the store object to
reconnect, but any references to existing folders and messages should be
considered invalid.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StoreClosedException
public StoreClosedException(Store store)
StoreClosedException
public StoreClosedException(Store store,
java.lang.String message)
getStore
public Store getStore()
- Returns the store.