Fail for unkonwn entities

Change-Id: I13d668e92ea762e9888f8c1c4615eccad6a1ff1b
This commit is contained in:
Stephan Bergmann
2013-09-16 21:51:59 +02:00
parent 3ec486639b
commit 04a002491b

View File

@@ -54,6 +54,9 @@ bool TypeManager::foundAtPrimaryProvider(OUString const & name) const {
return true;
}
}
if (!manager_->findEntity(name).is()) {
throw CannotDumpException("Unknown entity '" + name + "'");
}
return false;
}