ilog.rules.brl.value.info

Class IlrValueError

  • java.lang.Object
    • ilog.rules.brl.value.info.IlrValueError


  • public class IlrValueError
    extends java.lang.Object
    Reports errors on value checking.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrValueError()
      Constructs a value error.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getReason()
      Returns the reason of the error represented by a message.
      int getSeverity()
      Returns the severity of this error.
      void setReason(java.lang.String reason)
      Sets the reason of this error.
      void setSeverity(int severity)
      Sets the severity of this error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrValueError

        public IlrValueError()
        Constructs a value error.
    • Method Detail

      • getReason

        public java.lang.String getReason()
        Returns the reason of the error represented by a message.
        Returns:
        The reason of the error.
      • setReason

        public void setReason(java.lang.String reason)
        Sets the reason of this error.
        Parameters:
        reason - The message representing the reason.
      • getSeverity

        public int getSeverity()
        Returns the severity of this error. Supported severity values are:
        • 1: warning
        • 2: error
        Returns:
        The severity of the error.
        See Also:
        IlrBRLMarkerConstants
      • setSeverity

        public void setSeverity(int severity)
        Sets the severity of this error. Supported severity values are:
        • 1: warning
        • 2: error
        Parameters:
        severity - the severity
        See Also:
        IlrBRLMarkerConstants

© Copyright IBM Corp. 1987, 2017