Package com.tuladb
Class LedgerClient.LedgerStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.tuladb.LedgerClient.LedgerProtocolException
com.tuladb.LedgerClient.LedgerStatusException
- All Implemented Interfaces:
Serializable
- Enclosing class:
LedgerClient
public static final class LedgerClient.LedgerStatusException
extends LedgerClient.LedgerProtocolException
The engine answered a non-success status: a RESP_ERROR frame carrying
its status, or the declined item of a single write.
LedgerClient.LedgerProtocolException.statusCode()
is never null. Catch this type for engine statuses; a
LedgerClient.LedgerProtocolException that is not one of these is a protocol
error (no status).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLedgerStatusException(String message, int msgType, int statusCode, Object result) -
Method Summary
Methods inherited from class com.tuladb.LedgerClient.LedgerProtocolException
isAmbiguous, isFinal, isRetryable, msgType, result, statusCode, statusNameMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LedgerStatusException
-