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, toBuilder
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, sdkFields, statusCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected 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.