private function TypeMismatch($ObjectName, $EntityType) { return new TypeMismatchException('The supplied %s of entity %s is part of the given domain %s', $ObjectName, $EntityType, $this->Domain->GetType()); }