@Override
    public String getMessage() {
        return Optional.ofNullable(getStatementContext())
            .map(c -> c.getConfig(StatementExceptions.class).getMessageRendering())
            .orElse(MessageRendering.NONE)
            .apply(this);
    }
Superclass for exceptions thrown while trying to execute a statement.
core/src/main/java/org/jdbi/v3/core/statement/StatementException.java