code: public int getPrecision(final int param) throws SQLException {
          try {
              return this.parameters.get(param-1).precision;
          } catch (NullPointerException e) {
              throw new SQLException("Parameter is not set: " + param);
          } catch (IndexOutOfBoundsException out) {
              throw new SQLException("Parameter out of bounds: " + param);
          } // end of catch
      }
docs: {@inheritDoc}