public class QldbClientException
extends com.amazonaws.AmazonClientException
Modifier | Constructor and Description |
---|---|
protected |
QldbClientException(String message)
Protected constructor for creating an exception with a specific message.
|
protected |
QldbClientException(String message,
Throwable cause)
Protected constructor for creating an exception with a specific message wrapping another exception.
|
protected |
QldbClientException(Throwable cause)
Protected constructor for creating an exception wrapping another exception.
|
Modifier and Type | Method and Description |
---|---|
static QldbClientException |
create(String message,
org.slf4j.Logger logger)
Factory method for creating an exception with a specific message.
|
static QldbClientException |
create(String message,
String sessionToken,
org.slf4j.Logger logger)
Factory method for creating an exception with a specific message including the session token.
|
static QldbClientException |
create(String message,
String sessionToken,
Throwable cause,
org.slf4j.Logger logger)
Factory method for creating an exception with a specific message including the session token wrapping another exception.
|
static QldbClientException |
create(String message,
Throwable cause,
org.slf4j.Logger logger)
Factory method for creating an exception with a specific message wrapping another exception.
|
static QldbClientException |
create(Throwable cause,
org.slf4j.Logger logger)
Factory method for creating an exception wrapping another exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected QldbClientException(Throwable cause)
cause
- The cause of this exception.protected QldbClientException(String message)
message
- The message for this exception.protected QldbClientException(String message, Throwable cause)
message
- The message for this exception.cause
- The cause of this exception.public static QldbClientException create(Throwable cause, org.slf4j.Logger logger)
cause
- The cause of this exception.logger
- The logger to use when logging the exception.public static QldbClientException create(String message, org.slf4j.Logger logger)
message
- The message for this exception.logger
- The logger to use when logging the exception.public static QldbClientException create(String message, String sessionToken, org.slf4j.Logger logger)
message
- The message for this exception.logger
- The logger to use when logging the exception.public static QldbClientException create(String message, Throwable cause, org.slf4j.Logger logger)
message
- The message for this exception.cause
- The cause of this exception.logger
- The logger to use when logging the exception.public static QldbClientException create(String message, String sessionToken, Throwable cause, org.slf4j.Logger logger)
message
- The message for this exception.cause
- The cause of this exception.logger
- The logger to use when logging the exception.