Class ValidationError

    • Constructor Detail

      • ValidationError

        protected ValidationError​(ValidationLevel level)
        Protected constructor so end users cant create a Validation error only inherit from it.
        Parameters:
        level - error level
    • Method Detail

      • description

        public abstract java.lang.String description()
        Get the description of the error.
        Returns:
        description of the error
      • level

        public ValidationLevel level()
        Get the ValidationLevel of this error.
        Returns:
        ValidationLevel of this error
      • setLevel

        public void setLevel​(ValidationLevel level)
        Set the ValidationLevel for this error.
        Parameters:
        level - ValidationLevel
      • hasNoResults

        public boolean hasNoResults()
        Returns true if this error is for a missing results issue.
        Returns:
        true if this error is for a missing results issue