code: public static void rethrow(MjdbcException cause) throws MjdbcSQLException {
          MjdbcSQLException ex = new MjdbcSQLException(cause.getMessage());
  
          ex.setStackTrace(cause.getStackTrace());
  
          throw ex;
      }
docs: Converts MjdbcException into MjdbcSQLException.
  <p/>
  Useful in cases when internal logic thrown MjdbcException during processing of Query output.
  This allows for user to catch only SQLException instead of SQLException and MjdbcException
  
  @param cause original MjdbcException which would be converted
  @throws MjdbcSQLException