code: CmsResource getResource(CmsObject cms, CmsUUID structureId) {
  
          try {
              CmsResource result = cms.readResource(structureId);
              return result;
          } catch (CmsVfsResourceNotFoundException e) {
              return null;
          } catch (CmsException e) {
              LOG.error(e.getLocalizedMessage(), e);
              return null;
          }
      }
docs: Tries to the read the resource with the given structure id using the given CmsObject and returns it, or null if the resource can not be read.<p>
  
  @param cms the CmsObject to use
  @param structureId the structure id of the resource
  @return the resource which has been read