javax.mail

Class StoreClosedException


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

Constructor Summary

StoreClosedException(Store store)
StoreClosedException(Store store, String message)

Method Summary

Store
getStore()
Returns the store.

Methods inherited from class javax.mail.MessagingException

getMessage, getNextException, printStackTrace, printStackTrace, setNextException

Constructor Details

StoreClosedException

public StoreClosedException(Store store)

StoreClosedException

public StoreClosedException(Store store,
                            String message)

Method Details

getStore

public Store getStore()
Returns the store.

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