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&)",
dict
)
<< "Invalid plane type: " << planeType
<< abort(FatalIOError);
<< "Invalid plane type: " << planeType << nl
<< "Valid types are planeEquation, embeddedPoints "
<< "and pointAndNormal"
<< abort(FatalIOError);
}
}