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.
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Store |
getStore()
Returns the dead Store object.
|
getCause, getNextException, setNextException, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.