code: public I_CmsResourceType getResourceType(int typeId) throws CmsLoaderException {
  
          I_CmsResourceType result = m_configuration.getResourceTypeById(typeId);
          if (result == null) {
              throw new CmsLoaderException(
                  Messages.get().container(Messages.ERR_UNKNOWN_RESTYPE_ID_REQ_1, new Integer(typeId)));
          }
          return result;
      }
docs: Returns the initialized resource type instance for the given id.<p>
  
  @param typeId the id of the resource type to get
  
  @return the initialized resource type instance for the given id
  
  @throws CmsLoaderException if no resource type is available for the given id