*/
public void checkErrors() throws StyleParserException, QuickFixException {
// check for wrapped QFEs. However if it's a DefinitionNotFound... currently throwing one of those will
// get confused with the StyleDef itself so we have to wrap it in a runtime exception (and kill the quickfix).
if (!wrappedExceptions.isEmpty()) {
QuickFixException e = wrappedExceptions.get(0);
if (e instanceof DefinitionNotFoundException) {
throw new AuraRuntimeException(e);
}
throw e;
}