The loadXML
function should throw exceptions like FileNotFoundException
and ParseFailureException
.
The assert functions should throw InsufficientCoverageException
.
Something like this:
digraph G {
FileNotFoundException -> LoadFailureException;
ParseFailureException -> LoadFailureException;
LoadFailureException -> RuntimeException;
InsufficientCoverage -> RuntimeException;
}