docs: public static void checkName(String name, String constraints, String key, I_CmsMessageBundle bundle)
      throws CmsIllegalArgumentException {
  
          int l = name.length();
          for (int i = 0; i < l; i++) {
              char c = name.charAt(i);
              if (((c < 'a') || (c > 'z'))
                  && ((c < '0') || (c > '9'))
                  && ((c < 'A') || (c > 'Z'))
                  && (constraints.indexOf(c) < 0)) {
  
                  throw new CmsIllegalArgumentException(
                      bundle.container(key, new Object[] {name, new Character(c), new Integer(i), constraints}));
              }
          }
      }