Fail for unkonwn entities
Change-Id: I13d668e92ea762e9888f8c1c4615eccad6a1ff1b
This commit is contained in:
@@ -54,6 +54,9 @@ bool TypeManager::foundAtPrimaryProvider(OUString const & name) const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!manager_->findEntity(name).is()) {
|
||||||
|
throw CannotDumpException("Unknown entity '" + name + "'");
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user