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.
| 构造器和说明 |
|---|
StoreClosedException(Store store)
Constructs a StoreClosedException with no detail message.
|
StoreClosedException(Store store,
String message)
Constructs a StoreClosedException with the specified
detail message.
|
StoreClosedException(Store store,
String message,
Exception e)
Constructs a StoreClosedException with the specified
detail message and embedded exception.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Store |
getStore()
Returns the dead Store object.
|
getCause, getNextException, setNextException, toStringpublic StoreClosedException(Store store)
store - The dead Store objectpublic StoreClosedException(Store store, String message)
store - The dead Store objectmessage - The detailed error messagepublic StoreClosedException(Store store, String message, Exception e)
store - The dead Store objectmessage - The detailed error messagee - The embedded exceptionpublic Store getStore()
Copyright © 2021 Oracle. All rights reserved.