fnDefs = ConfigUtil.loadWhiteListFromJson(
defaultFnWhitelistURL, ConfigUtil.RESOURCE_RESOLVER, cacheMq);
// If the default schema is borked, there's not much we can do.
} catch (IOException ex) {
mq.getMessages().addAll(cacheMq.getMessages());
throw new SomethingWidgyHappenedError("Default schema is borked", ex);
} catch (ParseException ex) {
ex.toMessageQueue(cacheMq);
mq.getMessages().addAll(cacheMq.getMessages());
throw new SomethingWidgyHappenedError("Default schema is borked", ex);
}
defaultSchema = Pair.pair(
new CssSchema(propDefs, fnDefs), cacheMq.getMessages());
}
mq.getMessages().addAll(defaultSchema.b);