if (isChild(childConfig)) {
ProcessingNodeBuilder builder = this.treeBuilder.createNodeBuilder(childConfig);
if (builder instanceof HandleErrorsNodeBuilder) {
// Error handler : check type
HandleErrorsNode handler = (HandleErrorsNode)builder.buildNode(childConfig);
int type = handler.getStatusCode();
if ( (type == 404 && error404Handler != null) ||
(type == 500 && error500Handler != null) ) {
String msg = "Duplicate handle-errors at " + handler.getLocation();