javax.mail
Class StoreClosedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.mail.MessagingException
              extended by 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.

Version:
1.3
Author:
Chris Burdess
See Also:
Serialized Form

Constructor Summary
StoreClosedException(Store store)
           
StoreClosedException(Store store, java.lang.String message)
           
 
Method Summary
 Store getStore()
          Returns the store.
 
Methods inherited from class javax.mail.MessagingException
getMessage, getNextException, printStackTrace, printStackTrace, setNextException
 
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
 

Constructor Detail

StoreClosedException

public StoreClosedException(Store store)

StoreClosedException

public StoreClosedException(Store store,
                            java.lang.String message)
Method Detail

getStore

public Store getStore()
Returns the store.



© Copyright 2003, 2004 The Free Software Foundation, All rights reserved