The ExceptionFactory is a singleton and not thread-safe. For parallel testing in multiple threads there should be a possibility to lock the ExceptionFactory for a thread so that other threads can't adjust the settings.