Overview   Project   Class   Tree   Deprecated   Index 
Grammatica 1.5 Documentation
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

PerCederberg.Grammatica.Runtime.RE
Class RegExpException

Exception
   |
   +--RegExpException

   in RegExpException.cs

public class RegExpException
extends Exception

A regular expression exception. This exception is thrown if a regular expression couldn't be processed (or "compiled") properly.


Inner Classes, Typedefs, and Enums
enum RegExpException.ErrorType
          The error type enumeration.
 
Field Summary
 override string Message
          The message property.
 
Constructor Summary
RegExpException( RegExpException.ErrorType type, int pos, string pattern )
          Creates a new regular expression exception.
 
Method Summary
 string GetMessage()
          Returns the exception error message.
 

Field Detail

Message

public override string Message;
The message property. This property contains the detailed exception error message.


Constructor Detail

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


Method Detail

GetMessage

public string GetMessage();
Returns the exception error message.
Returns:
the exception error message

 Overview   Project   Class   Tree   Deprecated   Index 
Grammatica 1.5 Documentation
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD