Class RuleFailedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RuleFailedException
    extends java.lang.RuntimeException
    Represents the failure of a rule application
    Author:
    Lorenzo Bettini
    See Also:
    Serialized Form
    • Field Detail

      • issue

        protected final java.lang.String issue
      • errorInformations

        protected final transient java.util.List<ErrorInformation> errorInformations
      • previous

        protected final RuleFailedException previous
        the previous exception in the trace of failures
    • Constructor Detail

      • RuleFailedException

        public RuleFailedException()
      • RuleFailedException

        public RuleFailedException​(java.lang.String arg0)
      • RuleFailedException

        public RuleFailedException​(java.lang.String failed,
                                   java.lang.String issue2,
                                   java.lang.Throwable t)
      • RuleFailedException

        public RuleFailedException​(java.lang.String arg0,
                                   RuleFailedException previous)
    • Method Detail

      • getErrorInformations

        public java.util.List<ErrorInformation> getErrorInformations()
      • addErrorInformation

        public void addErrorInformation​(ErrorInformation errorInformation)
      • addErrorInformations

        public void addErrorInformations​(ErrorInformation... errorInformations)
      • getIssue

        public java.lang.String getIssue()