Class REParserException

    • Constructor Detail

      • REParserException

        public REParserException​(java.lang.String message,
                                 Context context)
        create a new REParserException with the specified error code and line number.
        Parameters:
        message - used for localization purpose ; this should be a key-entry in the current set of jpicedt/lang/i18n_xx.properties resource files, with the corresponding value being a properly localized message.
      • REParserException

        public REParserException​(java.lang.String message,
                                 Context context,
                                 AbstractRegularExpression expr)
        create a new REParserException, raised by the given Expression
        Parameters:
        context - the Context used by the parser raising this exception ; merely serves as a document locator.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Return a meaningfull, human-readable, properly localized description of this exception
        Overrides:
        getMessage in class ParserException
      • toString

        public java.lang.String toString()
        Convenience call to getMessage()
        Overrides:
        toString in class java.lang.Throwable
      • getLocalizedMessage

        public java.lang.String getLocalizedMessage()
        Convenience call to getMessage()
        Overrides:
        getLocalizedMessage in class java.lang.Throwable