ilog.rules.res.session

Interface IlrWarning

  • All Superinterfaces:
    com.ibm.rules.res.message.internal.LocalizedMessage, java.io.Serializable


    public interface IlrWarning
    extends java.io.Serializable, com.ibm.rules.res.message.internal.LocalizedMessage
    Use IlrWarning for warnings emitted by a rule session. This interfaces also serves as a wrapper for XU warnings.
    Since:
    7.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getCode()
      Deprecated. 
      use LocalizedMessage.getMessageCode()
      java.lang.Throwable getErrorCause()
      Return the cause of the error if any
      java.lang.String getMessage()
      Deprecated. 
      use LocalizedMessage.getLocalizedMessage(java.util.Locale)
    • Method Detail

      • getCode

        @Deprecated
        java.lang.String getCode()
        Deprecated. use LocalizedMessage.getMessageCode()
        Returns the warning code.
        Returns:
        The warning code.
      • getMessage

        @Deprecated
        java.lang.String getMessage()
        Deprecated. use LocalizedMessage.getLocalizedMessage(java.util.Locale)
        Returns the warning message.
        Returns:
        The warning message.
      • getErrorCause

        java.lang.Throwable getErrorCause()
        Return the cause of the error if any
        Returns:
        the cause of the error if any

© Copyright IBM Corp. 1987, 2020