Class CelIssue


  • @Immutable
    public abstract class CelIssue
    extends java.lang.Object
    Encapulates a CelSourceLocation and message representing an error within an expression.
    • Method Detail

      • getMessage

        public abstract java.lang.String getMessage()
      • formatError

        public static CelIssue formatError​(int line,
                                           int column,
                                           java.lang.String message)
        Build CelIssue from the given line, column, format string, and arguments.
      • toDisplayString

        public static java.lang.String toDisplayString​(java.util.Collection<CelIssue> issues,
                                                       Source source)
        Returns a human-readable error with all issues joined in a single string.
      • toDisplayString

        public java.lang.String toDisplayString​(Source source)
        Returns a string representing this error that is suitable for displaying to humans.