Changed some DomainErrors around.