code: public static void throwException(SQLException exception, MariaDbConnection connection,
        MariaDbStatement statement) throws SQLException {
      throw getException(exception, connection, statement, false);
    }
docs: Helper to throw exception.
  
  @param exception  exception
  @param connection current connection
  @param statement  current statement
  @throws SQLException exception