listeners.addListener(listener);
return this;
}
private BreadcrumbCssRemovedConcordionBuilder withApprovedCommand(String namespaceURI, String commandName, Command command) {
ThrowableCatchingDecorator throwableCatchingDecorator = new ThrowableCatchingDecorator(new LocalTextDecorator(command));
throwableCatchingDecorator.addThrowableListener(throwableListenerPublisher);
Command decoratedCommand = throwableCatchingDecorator;
commandRegistry.register(namespaceURI, commandName, decoratedCommand);
return this;
}