Create utility method for checking condition and throwing configuration exception.

Description

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.

Environment

None

Activity

Show:
Garret Wilson
September 26, 2019, 3:46 PM
Edited

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 ).

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Fix versions

Priority

Major
Configure