code: public void setTypeMap(Map<String, Class<?>> map) throws SQLException {
          if (!changable) {
              throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR", new Object[]
              { "ConnectionRequestInfo cannot be modified, doing so may result in corruption: type map, cri", map, this }));
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(this, tc, "Setting the type map on the CRI to: " + map);
  
          ivTypeMap = map;
      }
docs: Change the value of the type map property in the connection request information.
  
  @param map The new value.
  @throws IllegalArgumentException if the key is incorrect.
  @throws SQLException if the connection request information is not editable.