|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.ibm.mqe.MQeException | +--com.ibm.mqe.MQeMessageStoreException
This class is used to signal that an exception occured during an operation on a message store. If this exception is unrecoverable it indicates that the message store is in an unusable state, and should be closed, then reopened.
If the message store is not closed after throwing an unrecoverable exception, it will continue to rethrow the same exception to every invocation of methods that are declared as throwing MQeMessageStoreException.
If this exception is thrown from the open method, then there is an unrecoverable error in the persisten data structures, or in the underlying persistent data store itself.
The original exception that caused this is available through
getOriginalException()
.
Field Summary |
Constructor Summary | |
MQeMessageStoreException(java.lang.Exception exception)
MQeMessageStoreException default constructor. |
Method Summary | |
java.lang.String |
getMessage()
Returns the errort message string of this throwable object. |
java.lang.Exception |
getOriginalException()
Return the original exception (if any) that caused the receiver to be thrown. |
boolean |
isRecoverable()
This method returns true if the exception is recoverable, false otherwise. |
Methods inherited from class com.ibm.mqe.MQeException |
code, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MQeMessageStoreException(java.lang.Exception exception)
MQeMessageStoreException default constructor.
Method Detail |
public final boolean isRecoverable()
This method returns true if the exception is recoverable, false otherwise.
public java.lang.String getMessage()
Returns the errort message string of this throwable object.
getMessage
in class java.lang.Throwable
Throwable
object if it was Throwable
created with an
error message string; or null
if it was
Throwable
created with no error message.public java.lang.Exception getOriginalException()
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |