case "config" -> CONFIG;
case "nonconfig" -> NONCONFIG;
default -> throw new IllegalArgumentException(
- "Value can be 'all', 'config' or 'nonconfig', not '" + uriValue + "'");
+ "Invalid " + uriName + " value: Value can be 'all', 'config' or 'nonconfig', not '" + uriValue + "'");
};
}
}