ENH: use FatalIOErrorInLookup instead of FatalErrorInLookup

This commit is contained in:
Mark Olesen
2019-07-16 10:26:51 +02:00
committed by Andrew Heather
parent 5d0f1788e1
commit f94be1bebb
221 changed files with 1214 additions and 988 deletions

View File

@ -92,12 +92,13 @@ Foam::PackingModel<CloudType>::New
if (!cstrIter.found())
{
FatalErrorInLookup
FatalIOErrorInLookup
(
dict,
"packing model",
modelType,
*dictionaryConstructorTablePtr_
) << abort(FatalError);
) << abort(FatalIOError);
}
return autoPtr<PackingModel<CloudType>>(cstrIter()(dict, owner));