code: public void setTypeMap(final Map<String, Class<?>> typemap) 
          throws SQLException {
  
          checkClosed();
  
          if (typemap == null) {
              throw new SQLException("Invalid type-map");
          } // end of if
  
          this.typemap = typemap;
      }
docs: {@inheritDoc}