public class StoreClosedException extends MessagingException
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.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private Store |
store |
Constructor and Description |
---|
StoreClosedException(Store store)
Constructs a StoreClosedException with no detail message.
|
StoreClosedException(Store store,
java.lang.String message)
Constructs a StoreClosedException with the specified
detail message.
|
StoreClosedException(Store store,
java.lang.String message,
java.lang.Exception e)
Constructs a StoreClosedException with the specified
detail message and embedded exception.
|
Modifier and Type | Method and Description |
---|---|
Store |
getStore()
Returns the dead Store object.
|
getCause, getNextException, setNextException, toString
private transient Store store
private static final long serialVersionUID
public StoreClosedException(Store store)
store
- The dead Store objectpublic StoreClosedException(Store store, java.lang.String message)
store
- The dead Store objectmessage
- The detailed error messagepublic StoreClosedException(Store store, java.lang.String message, java.lang.Exception e)
store
- The dead Store objectmessage
- The detailed error messagee
- The embedded exceptionpublic Store getStore()