The XMLParser currently uses IllegalStateException for handling invalid model features. As pointed out here an exception like InvalidModelException is more fitting. Based on this comment we could have pre-checkers for each particular operation and aggregate the exceptions and report them back.
The XMLParser currently uses IllegalStateException for handling invalid model features. As pointed out here an exception like InvalidModelException is more fitting. Based on this comment we could have pre-checkers for each particular operation and aggregate the exceptions and report them back.