Improved error message

This commit is contained in:
Hrvoje Jasak 2010-12-01 10:38:55 +00:00
parent c80dfcfff2
commit 8105e4637c

View file

@ -217,7 +217,9 @@ Foam::plane::plane(const dictionary& dict)
"plane::plane(const dictionary&)", "plane::plane(const dictionary&)",
dict dict
) )
<< "Invalid plane type: " << planeType << "Invalid plane type: " << planeType << nl
<< "Valid types are planeEquation, embeddedPoints "
<< "and pointAndNormal"
<< abort(FatalIOError); << abort(FatalIOError);
} }
} }