MCPcopy Create free account
hub / github.com/Kitware/VTK / ThrowUnexpectedTokenException

Method ThrowUnexpectedTokenException

IO/Geometry/vtkOpenFOAMReader.cxx:2887–2900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2885}
2886
2887void vtkFoamFile::ThrowUnexpectedTokenException(char expected, int c)
2888{
2889 vtkFoamError err;
2890 err << this->StackString() << "Expected punctuation token '" << expected << "', found ";
2891 if (c == EOF)
2892 {
2893 err << "EOF";
2894 }
2895 else
2896 {
2897 err << static_cast<char>(c);
2898 }
2899 throw err;
2900}
2901
2902void vtkFoamFile::ThrowDuplicatedPutBackException()
2903{

Callers 1

ReadExpectingMethod · 0.95

Calls 1

StackStringMethod · 0.95

Tested by

no test coverage detected