diff --git a/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTableIO.C b/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTableIO.C index b6440ac286..283968a9b4 100644 --- a/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTableIO.C +++ b/src/OpenFOAM/containers/HashTables/HashPtrTable/HashPtrTableIO.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -76,9 +76,8 @@ void Foam::HashPtrTable::read(Istream& is, const INew& inewt) } else { - FatalIOErrorIn + FatalIOErrorInFunction ( - "HashPtrTable::read(Istream&, const INew&)", is ) << "incorrect first token, '(', found " << firstToken.info() << exit(FatalIOError); @@ -92,9 +91,8 @@ void Foam::HashPtrTable::read(Istream& is, const INew& inewt) { if (firstToken.pToken() != token::BEGIN_LIST) { - FatalIOErrorIn + FatalIOErrorInFunction ( - "HashPtrTable::read(Istream&, const INew&)", is ) << "incorrect first token, '(', found " << firstToken.info() << exit(FatalIOError); @@ -125,9 +123,8 @@ void Foam::HashPtrTable::read(Istream& is, const INew& inewt) } else { - FatalIOErrorIn + FatalIOErrorInFunction ( - "HashPtrTable::read(Istream&, const INew&)", is ) << "incorrect first token, expected or '(', found " << firstToken.info() diff --git a/src/OpenFOAM/containers/HashTables/HashTable/HashTableIO.C b/src/OpenFOAM/containers/HashTables/HashTable/HashTableIO.C index 676c6977c7..f56429ce5e 100644 --- a/src/OpenFOAM/containers/HashTables/HashTable/HashTableIO.C +++ b/src/OpenFOAM/containers/HashTables/HashTable/HashTableIO.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -145,9 +145,8 @@ Foam::Istream& Foam::operator>> } else { - FatalIOErrorIn + FatalIOErrorInFunction ( - "operator>>(Istream&, HashTable&)", is ) << "incorrect first token, '(', found " << firstToken.info() << exit(FatalIOError); @@ -161,9 +160,8 @@ Foam::Istream& Foam::operator>> { if (firstToken.pToken() != token::BEGIN_LIST) { - FatalIOErrorIn + FatalIOErrorInFunction ( - "operator>>(Istream&, HashTable&)", is ) << "incorrect first token, '(', found " << firstToken.info() << exit(FatalIOError); @@ -199,9 +197,8 @@ Foam::Istream& Foam::operator>> } else { - FatalIOErrorIn + FatalIOErrorInFunction ( - "operator>>(Istream&, HashTable&)", is ) << "incorrect first token, expected or '(', found " << firstToken.info() diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILListIO.C b/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILListIO.C index 6a1971bd2a..befc71d1eb 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILListIO.C +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/ILList/ILListIO.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -89,9 +89,8 @@ void Foam::ILList::read(Istream& is, const INew& iNew) { if (firstToken.pToken() != token::BEGIN_LIST) { - FatalIOErrorIn + FatalIOErrorInFunction ( - "operator>>(Istream&, ILList&)", is ) << "incorrect first token, '(', found " << firstToken.info() << exit(FatalIOError); @@ -117,7 +116,7 @@ void Foam::ILList::read(Istream& is, const INew& iNew) } else { - FatalIOErrorIn("operator>>(Istream&, ILList&)", is) + FatalIOErrorInFunction(is) << "incorrect first token, expected or '(', found " << firstToken.info() << exit(FatalIOError); diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LListIO.C b/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LListIO.C index 9907cbbf70..c14ff358ea 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LListIO.C +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/LList/LListIO.C @@ -90,9 +90,8 @@ Foam::Istream& Foam::operator>>(Istream& is, LList& L) { if (firstToken.pToken() != token::BEGIN_LIST) { - FatalIOErrorIn + FatalIOErrorInFunction ( - " operator>>(Istream&, LList&)", is ) << "incorrect first token, '(', found " << firstToken.info() << exit(FatalIOError); @@ -120,7 +119,7 @@ Foam::Istream& Foam::operator>>(Istream& is, LList& L) } else { - FatalIOErrorIn(" operator>>(Istream&, LList&)", is) + FatalIOErrorInFunction(is) << "incorrect first token, expected or '(', found " << firstToken.info() << exit(FatalIOError); diff --git a/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrListIO.C b/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrListIO.C index 089fd58c2f..6a691c078a 100644 --- a/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrListIO.C +++ b/src/OpenFOAM/containers/LinkedLists/accessTypes/LPtrList/LPtrListIO.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -94,9 +94,8 @@ void Foam::LPtrList::read(Istream& is, const INew& iNew) { if (firstToken.pToken() != token::BEGIN_LIST) { - FatalIOErrorIn + FatalIOErrorInFunction ( - "LPtrList::read(Istream&, const INew&)", is ) << "incorrect first token, '(', found " << firstToken.info() << exit(FatalIOError); @@ -125,9 +124,8 @@ void Foam::LPtrList::read(Istream& is, const INew& iNew) } else { - FatalIOErrorIn + FatalIOErrorInFunction ( - "LPtrList::read(Istream&, const INew&)", is ) << "incorrect first token, expected or '(', found " << firstToken.info() diff --git a/src/OpenFOAM/containers/Lists/FixedList/FixedListIO.C b/src/OpenFOAM/containers/Lists/FixedList/FixedListIO.C index 76970057a1..62e801dd98 100644 --- a/src/OpenFOAM/containers/Lists/FixedList/FixedListIO.C +++ b/src/OpenFOAM/containers/Lists/FixedList/FixedListIO.C @@ -68,7 +68,7 @@ Foam::Istream& Foam::operator>>(Foam::Istream& is, FixedList& L) } else if (!firstToken.isPunctuation()) { - FatalIOErrorIn("operator>>(Istream&, FixedList&)", is) + FatalIOErrorInFunction(is) << "incorrect first token, expected