System.err.println("Caught SQL exception: " + se);
System.err.println("Caught SQL exception gettin DBRecipe " + query + ": " + se);
  private DbRecipe getDatabaseRecipe(String recipeId) {    try {      Connection conn = DBUtils.getConnection();      try {        Map substitutions = new HashMap();        substitutions.put(":recipe_id", recipeId);        Statement stmt = conn.createStatement();        String query = DBUtils.getQuery("queryRecipe", substitutions);        ResultSet rs = stmt.executeQuery(query);        if (rs.next()) {          try {            DbRecipe dbRecipe = new DbRecipe(rs.getString(2), Class.forName(rs.getString(3)));            getRecipeProperties(dbRecipe, conn, substitutions);            return dbRecipe;          } catch (ClassNotFoundException cnfe) {            System.err.println(cnfe + ": for recipe");          }        }        System.err.println("Recipe not found: " + recipeId);        rs.close();        stmt.close();      } finally {        conn.close();      }    } catch (SQLException se) {      System.err.println("Caught SQL exception: " + se);      se.printStackTrace();    }        return null;  }