STYLE: Updated messages to use pretty macros

This commit is contained in:
Andrew Heather
2017-06-23 12:23:04 +01:00
parent 34a1a5dec2
commit fef4e493d4
4 changed files with 16 additions and 89 deletions

View File

@ -42,10 +42,8 @@ Foam::autoPtr<Foam::windowModel> Foam::windowModel::New
if (!cstrIter.found())
{
FatalErrorIn
(
"windowModel::New(const dictionary&, const label)"
) << "Unknown windowModel type "
FatalErrorInFunction
<< "Unknown windowModel type "
<< modelType << nl << nl
<< "Valid windowModel types are:" << nl
<< dictionaryConstructorTablePtr_->sortedToc()