code: public <T> T unwrap(final Class<T> iface) throws SQLException {
          if (!isWrapperFor(iface)) {
              throw new SQLException();
          } // end of if
  
          @SuppressWarnings("unchecked")
          final T proxy = (T) this;
  
          return proxy;
      }
docs: {@inheritDoc}