ilog.rules.brl.parsing

Class IlrBRLGrammarGeneratorError

  • java.lang.Object
    • ilog.rules.brl.parsing.IlrBRLGrammarGeneratorError


  • public class IlrBRLGrammarGeneratorError
    extends java.lang.Object
    Class implementing an error generated by the grammar generator.

    Constants identifying these errors are specified in ilog.rules.brl.parsing.IlrBRLGrammarGeneratorErrors.

    See Also:
    IlrBRLGrammarGeneratorErrors
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ERROR
      The error severity level value: 0.
      static int WARNING
      The warning severity level value: 1.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getId()
      Returns the type of grammar error.
      int getSeverity()
      Returns the severity level of the grammar error.
      java.lang.String toString()
      Returns a string representation of the grammar error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • WARNING

        public static final int WARNING
        The warning severity level value: 1.
        See Also:
        Constant Field Values
    • Method Detail

      • getSeverity

        public int getSeverity()
        Returns the severity level of the grammar error.
        Returns:
        The severity level of the grammar error.
      • getId

        public java.lang.String getId()
        Returns the type of grammar error.
        Returns:
        The type of grammar error.
        See Also:
        IlrBRLGrammarGeneratorErrors
      • toString

        public java.lang.String toString()
        Returns a string representation of the grammar error.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the grammar error.

© Copyright IBM Corp. 1987, 2017