@Override
    public String toDescription() {
      return "Expects one of the pattern in " + expected;
    }
validate value for a ConfVar, return non-null string for fail message
common/src/java/org/apache/hadoop/hive/conf/Validator.java