public class QldbDriverException
extends software.amazon.awssdk.services.qldbsession.model.QldbSessionException
| Modifier | Constructor and Description |
|---|---|
protected |
QldbDriverException(String message)
Protected constructor for creating an exception with a specific message.
|
protected |
QldbDriverException(String message,
Throwable cause)
Protected constructor for creating an exception with a specific message wrapping another exception.
|
protected |
QldbDriverException(Throwable cause)
Protected constructor for creating an exception wrapping another exception.
|
| Modifier and Type | Method and Description |
|---|---|
static QldbDriverException |
create(String message)
Factory method for creating an exception with a specific message.
|
static QldbDriverException |
create(String message,
String transactionId)
Factory method for creating an exception with a specific message including the session token.
|
static QldbDriverException |
create(String message,
Throwable cause)
Factory method for creating an exception with a specific message wrapping another exception.
|
static QldbDriverException |
create(Throwable cause)
Factory method for creating an exception wrapping another exception.
|
builder, serializableBuilderClass, toBuilderawsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, sdkFields, statusCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected QldbDriverException(Throwable cause)
cause - The cause of this exception.protected QldbDriverException(String message)
message - The message for this exception.protected QldbDriverException(String message, Throwable cause)
message - The message for this exception.cause - The cause of this exception.public static QldbDriverException create(Throwable cause)
cause - The cause of this exception.public static QldbDriverException create(String message)
message - The message for this exception.public static QldbDriverException create(String message, String transactionId)
message - The message for this exception.transactionId - TransactionId that failedpublic static QldbDriverException create(String message, Throwable cause)
message - The message for this exception.cause - The cause of this exception.