Package jflex.core
Class RegExpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jflex.core.RegExpException
-
- All Implemented Interfaces:
java.io.Serializable
public class RegExpException extends java.lang.RuntimeException
This exception is used for unexpected errors in in regexp recursion, such as unexpected expression type or structure.If this is encountered, this means there is a bug.
- Version:
- JFlex 1.8.2
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Required by serialisation interface
-
Constructor Summary
Constructors Modifier Constructor Description private
RegExpException(java.lang.String message)
Creates a new RegExpException with the specified messageRegExpException(RegExp e)
Creates a new RegExpException for the specified regular expression.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Required by serialisation interface- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RegExpException
private RegExpException(java.lang.String message)
Creates a new RegExpException with the specified message- Parameters:
message
- the error description presented to the user.
-
RegExpException
public RegExpException(RegExp e)
Creates a new RegExpException for the specified regular expression.- Parameters:
e
- the regexp that caused this exception.
-
-