PerCederberg.Grammatica.Parser.RE
Class RegExpException
Exception
|
+--RegExpException
in RegExpException.cs
- class RegExpException
- extends Exception
A regular expression exception. This exception is thrown if a
regular expression couldn't be processed (or "compiled")
properly.
Field Summary |
override string |
Message
The message property. |
Method Summary |
string |
GetMessage()
Returns the exception error message. |
Message
public override string Message;
- The message property. This property contains the detailed
exception error message.
RegExpException
public RegExpException( RegExpException.ErrorType type, int pos, string pattern );
- Creates a new regular expression exception.
- Parameters:
type
- the error type constant
pos
- the error position
pattern
- the regular expression pattern
GetMessage
public string GetMessage();
- Returns the exception error message.
- Returns:
- the exception error message