diff --git a/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C b/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C index fee6f86ff465211bb95d767251c4c5e85073942f..544245faf57bcbb3e984dbb1308e516279e24b23 100644 --- a/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C +++ b/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -709,16 +709,17 @@ Foam::directMappedPatchBase::directMappedPatchBase } else { - FatalErrorIn + FatalIOErrorIn ( "directMappedPatchBase::directMappedPatchBase\n" "(\n" " const polyPatch& pp,\n" " const dictionary& dict\n" - ")\n" + ")\n", + dict ) << "Please supply the offsetMode as one of " << NamedEnum<offsetMode, 3>::words() - << exit(FatalError); + << exit(FatalIOError); } }