Package javax.mail

Class 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.4
    Author:
    Chris Burdess
    See Also:
    Serialized Form
    • 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.