Add new class ExceptionCollector for grouping exceptions