in dekaf-jdbc/src/impl/JdbcUtil.java [114:136]
static void printOperationException(final Exception e, final String operation) {
final String message;
if (e instanceof SQLException) {
SQLException sqle = (SQLException) e;
message = String.format(
"JDBC ERROR: " +
"Failed to " + operation + ". SQL exception class (%s) encountered, " +
"with SQL state %s, error code %d and message: %s",
sqle.getClass().getName(),
sqle.getSQLState(),
sqle.getErrorCode(),
sqle.getMessage());
}
else {
message = String.format(
"JDBC ERROR: " +
"Failed to " + operation + ". Exception class (%s) encountered with message: %s",
e.getClass().getName(),
e.getMessage());
}
System.err.println(message);
}