if (isChild(childConfig)) {
ProcessingNodeBuilder builder = this.treeBuilder.createNodeBuilder(childConfig);
if (builder instanceof HandleErrorsNodeBuilder) {
// Error handler : check type
HandleErrorsNode handler = (HandleErrorsNode)builder.buildNode(childConfig);
int status = handler.getStatusCode();
switch(status) {
case -1: // main handler (needs generator)
if (mainHandler != null) {