A utility method would be useful to check a condition and throw a configuration exception if the condition is not met, e.g.
The method should follow the general patter of argument checks in Conditions.
Note that there apparently are some legacy checkConfiguration() methods already present in Conditions, marked as deprecated because they use old configuration exception classes. We can probably move them to the Confound Configuration class. We might as well go ahead and remove them and com.globalmentor.model.ConfigurationException from globalmentor-core as well (now scheduled for ).