public static AlertLevel forName(String name) {
    for (AlertLevel level : VALUES) {
      if (level.getName().equalsIgnoreCase(name)) {
        return level;
      }
    }

    throw new IllegalArgumentException(
        String.format("There is no alert level %s", name));
  }
Returns the <code>AlertLevel</code> with the given name

@param name the name of the <code>AlertLevel</code> to return
@return the <code>AlertLevel</code> with the given name

@throws IllegalArgumentException If there is no alert level named <code>name</code>
geode-core/src/main/java/org/apache/geode/admin/AlertLevel.java