addError("ThrowableRender cannot be null.");
errorCount++;
}
try {
Parser p = new Parser(pattern);
if (getContext() != null) {
p.setStatusManager(getContext().getStatusManager());
}
Node t = p.parse();
this.head = p.compile(t, getDefaultConverterMap());
DynamicConverter.startConverters(this.head);
} catch (ScanException ex) {
addError("Incorrect pattern found", ex);
errorCount++;
}