Code example for SQLException

0
    { 
      return parts;
    } 
    else 
    { 
      throw new SQLException("Bad schema/type name.");
    } 
  } 
 
  public static final void close(ResultSet target)
  { 
    try 
    { 
      if(target != null)
      { 
        target.close();
      } 
    } 
    catch(SQLException ex)
    { 
Connect your IDE to all the code out there  Get Codota for Java