Package jflex.core

Class RegExpException

All Implemented Interfaces:
Serializable

public class RegExpException extends 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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Required by serialisation interface
      See Also:
  • Constructor Details

    • RegExpException

      private RegExpException(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.