Package jflex.core

Class 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.9.1
    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 message
        RegExpException​(RegExp e)
      Creates a new RegExpException for the specified regular expression.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.