public class

StoreClosedException

extends MessagingException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.code.javax.mail.MessagingException
         ↳ com.google.code.javax.mail.StoreClosedException

Class Overview

This exception is thrown when a method is invoked on a Messaging object and the Store that owns that object has died due to some reason. This exception should be treated as a fatal error; in particular any messaging object belonging to that Store must be considered invalid.

The connect method may be invoked on the dead Store object to revive it.

The getMessage() method returns more detailed information about the error that caused this exception.

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class com.google.code.javax.mail.MessagingException
From class java.lang.Exception
From class java.lang.Throwable
Fields
private Store store
[Expand]
Inherited Fields
From class com.google.code.javax.mail.MessagingException
From class java.lang.Throwable
Public Constructors
StoreClosedException(Store store)
Constructor
StoreClosedException(Store store, String message)
Constructor
Public Methods
Store getStore()
Returns the dead Store object
[Expand]
Inherited Methods
From class com.google.code.javax.mail.MessagingException
From class java.lang.Throwable
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -3145392336120082655 (0xd4595255d6538f21)

Fields

private Store store

Public Constructors

public StoreClosedException (Store store)

Constructor

Parameters
store The dead Store object

public StoreClosedException (Store store, String message)

Constructor

Parameters
store The dead Store object
message The detailed error message

Public Methods

public Store getStore ()

Returns the dead Store object