| 2885 | } |
| 2886 | |
| 2887 | void 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 | |
| 2902 | void vtkFoamFile::ThrowDuplicatedPutBackException() |
| 2903 | { |
no test coverage detected