public void throwIfNecessary() {
        if (!throwables.isEmpty()) {
            Throwable first = throwables.removeFirst();
            attachToThrowable(first);
            throw throwAnyway(first);
        }
    }
If any throwables were recorded, use the first as the primary exception and attach all other suppressed exceptions to it.
core/src/main/java/org/jdbi/v3/core/internal/exceptions/ThrowableSuppressor.java