public class DurabilityException extends ReplyException
This can be due to using a journal
durability without journaling enabled on the server or the durability
requirements are not met within the specified wait time.
Constructor and Description |
---|
DurabilityException(int okValue,
int errorNumber,
String errorMessage,
Message message,
Reply reply)
Create a new DurabilityException.
|
DurabilityException(int okValue,
int errorNumber,
String errorMessage,
Reply reply)
Create a new DurabilityException.
|
getErrorNumber, getOkValue, getReply, getRequest
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DurabilityException(int okValue, int errorNumber, String errorMessage, Message message, Reply reply)
okValue
- The value of the "ok" field in the reply document.errorNumber
- The value of the "errNo" field in the reply document.errorMessage
- The value of the 'errmsg" field in the reply document.message
- The message that triggered the message.reply
- The reply with the error.public DurabilityException(int okValue, int errorNumber, String errorMessage, Reply reply)
okValue
- The value of the "ok" field in the reply document.errorNumber
- The value of the "errNo" field in the reply document.errorMessage
- The value of the 'errmsg" field in the reply document.reply
- The reply with the error.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.