mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
src/OpenFOAM: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the function signature string.
This commit is contained in:
@ -76,11 +76,8 @@ bool Foam::functionEntry::execute
|
||||
|
||||
if (mfIter == executedictionaryIstreamMemberFunctionTablePtr_->end())
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"functionEntry::execute"
|
||||
"(const word& functionName, dictionary& parentDict, Istream&)"
|
||||
) << "Unknown functionEntry '" << functionName
|
||||
FatalErrorInFunction
|
||||
<< "Unknown functionEntry '" << functionName
|
||||
<< "' in " << is.name() << " near line " << is.lineNumber()
|
||||
<< nl << nl
|
||||
<< "Valid functionEntries are :" << endl
|
||||
@ -122,11 +119,8 @@ bool Foam::functionEntry::execute
|
||||
|
||||
if (mfIter == executeprimitiveEntryIstreamMemberFunctionTablePtr_->end())
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"functionEntry::execute"
|
||||
"(const word&, const dictionary&, primitiveEntry&, Istream&)"
|
||||
) << "Unknown functionEntry '" << functionName
|
||||
FatalErrorInFunction
|
||||
<< "Unknown functionEntry '" << functionName
|
||||
<< "' in " << is.name() << " near line " << is.lineNumber()
|
||||
<< nl << nl
|
||||
<< "Valid functionEntries are :" << endl
|
||||
|
||||
Reference in New Issue
Block a user