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,8 +217,10 @@ 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
<< abort(FatalIOError); << "Valid types are planeEquation, embeddedPoints "
<< "and pointAndNormal"
<< abort(FatalIOError);
} }
} }