public final class WarningConstants extends Object
These messages can only be used in loggers and necessary placeholders ({}) are directly integrated to
the message constants to support SLF4J loggers.
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_STATEMENT_TO_BATCH_FAILED
Warning message used when adding a statement to a batch fails.
|
static String |
BINARY_FAILED_CONVERSION
Warning message used when converting of an object to a byte array fails.
|
static String |
CLUSTER_NAME_NOT_FOUND
Warning message used when retrieving the cluster name fails.
|
static String |
CODEC_INSTANTIATION_FAILED
Warning message used when the instantiation of the specific codec class failed.
|
static String |
CONFIGURATION_FILE_NOT_FOUND
Warning message used when the specified configuration file cannot be found.
|
static String |
COUNTING_EXPORTED_ROWS_FAILED
Warning message used when counting the number of rows exported by the command
COPY TO fails. |
static String |
DRIVER_PROPERTY_NOT_FOUND
Warning message used when retrieving a value in the internal
jdbc-driver.properties file fails. |
static String |
GET_LIST_FAILED
Warning message used when getting the value of a column of type
list from a ResultSet fails. |
static String |
GET_SET_FAILED
Warning message used when getting the value of a column of type
set from a ResultSet fails. |
static String |
GET_VECTOR_FAILED
Warning message used when getting the value of a column of type
vector from a ResultSet fails. |
static String |
INVALID_ARRAY_IMPLEMENTATION
Warning message used when the given class when setting an array value in a statement is not a valid
implementation of
Array. |
static String |
INVALID_AWS_SECRETS_MANAGER_CUSTOM_ENDPOINT
Warning message used when setting a custom endpoint for Amazon Secrets manager fails.
|
static String |
INVALID_CAST
Warning message used when casting a value in a target type fails (typically when retrieving data in a given row).
|
static String |
INVALID_CODEC_CLASS
Warning message used when the specific class is not a valid codec, i.e. does not implement TypeCodec interface.
|
static String |
INVALID_FETCH_SIZE_PARAMETER
Warning message used when the fetch size parameter is invalid and cannot be parsed.
|
static String |
INVALID_OPTION_VALUE
Warning message used when the value of an option in a special CQL command is invalid.
|
static String |
INVALID_PROFILE_NAME
Warning message used when the given execution profile does not exist and cannot be applied.
|
static String |
JDBC_TYPE_NOT_FOUND_FOR_CQL_TYPE
Warning message used when retrieving the JDBC type corresponding to a CQL type fails.
|
static String |
MAP_TO_STRING_FORMATTING_FAILED
Warning message used when representing a
Map as a string fails. |
static String |
PARAMETER_PARSING_FAILED
Warning message used when parsing a connection parameter fails.
|
static String |
PARSING_VALUE_FAILED
Warning message used when parsing a value in a CSV file used in the command
COPY FROM fails. |
static String |
PREPARED_STATEMENT_CLOSING_FAILED
Warning message used when trying to close a prepared statement, and it failed for some reason.
|
static String |
PROPERTIES_PARSING_FROM_URL_FAILED
Warning message used in any SQL exception thrown when trying to extract properties from a JDBC URL.
|
static String |
SCHEMA_NAME_NOT_FOUND
Warning message used when retrieving the schema name fails.
|
static String |
URL_REDACTION_FAILED
Warning message used when redacting sensitive values in a JDBC URL fails due to an invalid URL format.
|
public static final String URL_REDACTION_FAILED
public static final String DRIVER_PROPERTY_NOT_FOUND
jdbc-driver.properties file fails.
This message is a template expecting the name of the not found property (example:
LOG.warn(DRIVER_PROPERTY_NOT_FOUND, "unknownProperty")).public static final String CONFIGURATION_FILE_NOT_FOUND
LOG.warn(CONFIGURATION_FILE_NOT_FOUND, "cassandra.conf")).public static final String PARAMETER_PARSING_FAILED
LOG.warn(PARAMETER_PARSING_FAILED, "retry policy", e.getMessage(), "skipping")).public static final String PROPERTIES_PARSING_FROM_URL_FAILED
public static final String INVALID_PROFILE_NAME
LOG.warn(INVALID_PROFILE_NAME, "undefined_profile")).public static final String INVALID_FETCH_SIZE_PARAMETER
LOG.warn(INVALID_FETCH_SIZE_PARAMETER, "invalid_size", 5000)).public static final String PREPARED_STATEMENT_CLOSING_FAILED
LOG.warn(PREPARED_STATEMENT_CLOSING_FAILED, e.getMessage())).public static final String INVALID_ARRAY_IMPLEMENTATION
Array. This message is a template expecting the name of the invalid class (example:
LOG.warn(INVALID_ARRAY_IMPLEMENTATION, x.getClass().getName())).public static final String GET_LIST_FAILED
list from a ResultSet fails.
This generally happens when the class of items cannot be determined/found.public static final String GET_SET_FAILED
set from a ResultSet fails.
This generally happens when the class of items cannot be determined/found.public static final String GET_VECTOR_FAILED
vector from a ResultSet fails.
This generally happens when the class of items cannot be determined/found.public static final String INVALID_OPTION_VALUE
LOG.warn(INVALID_OPTION_VALUE, "optionName", "abc", "100")).public static final String PARSING_VALUE_FAILED
COPY FROM fails. This
message is a template expecting the invalid value (example: LOG.warn(PARSING_VALUE_FAILED, "abc")).public static final String COUNTING_EXPORTED_ROWS_FAILED
COPY TO fails.public static final String ADD_STATEMENT_TO_BATCH_FAILED
LOG.warn(ADD_STATEMENT_TO_BATCH_FAILED, "INSERT INTO table VALUES (1, 'a')")).public static final String JDBC_TYPE_NOT_FOUND_FOR_CQL_TYPE
LOG.warn(JDBC_TYPE_NOT_FOUND_FOR_CQL_TYPE, "unknown", e.getMessage())).public static final String INVALID_CAST
LOG.warn(INVALID_CAST, "abc", 1, "integer", 0)).public static final String CLUSTER_NAME_NOT_FOUND
LOG.warn(CLUSTER_NAME_NOT_FOUND, e.getMessage())).public static final String SCHEMA_NAME_NOT_FOUND
LOG.warn(SCHEMA_NAME_NOT_FOUND, e.getMessage())).public static final String MAP_TO_STRING_FORMATTING_FAILED
Map as a string fails. This message is a template
expecting the basic string representation of the map value (example:
LOG.warn(MAP_TO_STRING_FORMATTING_FAILED, map.toString())).public static final String INVALID_AWS_SECRETS_MANAGER_CUSTOM_ENDPOINT
public static final String BINARY_FAILED_CONVERSION
LOG.warn(BINARY_FAILED_CONVERSION, o.getClass().getName())).public static final String INVALID_CODEC_CLASS
LOG.warn(INVALID_CODEC_CLASS, codecClassName)).public static final String CODEC_INSTANTIATION_FAILED
LOG.warn(CODEC_INSTANTIATION_FAILED, codecClassName)).Copyright © 2020–2026 ING Bank. All rights reserved.