Grammatica
|
A regular expression exception. More...
Public Types | |
enum | ErrorType { ErrorType.UNEXPECTED_CHARACTER, ErrorType.UNTERMINATED_PATTERN, ErrorType.UNSUPPORTED_SPECIAL_CHARACTER, ErrorType.UNSUPPORTED_ESCAPE_CHARACTER, ErrorType.INVALID_REPEAT_COUNT } |
The error type enumeration. More... | |
Public Member Functions | |
RegExpException (ErrorType type, int pos, string pattern) | |
Creates a new regular expression exception. More... | |
string | GetMessage () |
Returns the exception error message. More... | |
Properties | |
override string | Message [get] |
The message property. More... | |
A regular expression exception.
This exception is thrown if a regular expression couldn't be processed (or "compiled") properly.
The error type enumeration.
|
inline |
Creates a new regular expression exception.
type | the error type constant |
pos | the error position |
pattern | the regular expression pattern |
|
inline |
Returns the exception error message.
|
get |
The message property.
This property contains the detailed exception error message.