Exception handling while starting a domain.