Class ImportStep.SyntaxError
- Namespace
- CADability
- Assembly
- CADability.dll
Thrown while Read(string) parses the file when it does not follow the ISO 10303-21 syntax, e.g. when an expected delimiter is missing. Read(string) catches it and reports the message in Problems; the message names the offending line.
public class ImportStep.SyntaxError : ApplicationException, ISerializable
- Inheritance
-
ImportStep.SyntaxError
- Implements
- Inherited Members
Constructors
SyntaxError(string)
Creates the exception with a general message.
public SyntaxError(string msg)
Parameters
msgstringdescribes the problem
SyntaxError(string, int, char)
Creates the exception for a missing delimiter: expected was not found at position
start of line.
public SyntaxError(string line, int start, char expected)