docs: public I_CmsXmlSchemaType addContentType(Class<?> clazz) throws CmsXmlException {
  
          I_CmsXmlSchemaType type;
          try {
              type = (I_CmsXmlSchemaType)clazz.newInstance();
          } catch (InstantiationException e) {
              throw new CmsXmlException(Messages.get().container(Messages.ERR_INVALID_XCC_TYPE_REGISTERED_0));
          } catch (IllegalAccessException e) {
              throw new CmsXmlException(Messages.get().container(Messages.ERR_INVALID_XCC_TYPE_REGISTERED_0));
          } catch (ClassCastException e) {
              throw new CmsXmlException(Messages.get().container(Messages.ERR_INVALID_XCC_TYPE_REGISTERED_0));
          }
          m_registeredTypes.put(type.getTypeName(), type);
          return type;
      }