code: public CmsCategory getCategory(CmsObject cms, String categoryRootPath) throws CmsException {
  
          CmsResource resource = cms.readResource(cms.getRequestContext().removeSiteRoot(categoryRootPath));
          return getCategory(cms, resource);
      }
docs: Creates a category from the given category root path.<p>
  
  @param cms the cms context
  @param categoryRootPath the category root path
  
  @return a category object
  
  @throws CmsException if something goes wrong