Class Errors.ErrorMessage

java.lang.Object
io.helidon.common.Errors.ErrorMessage
Enclosing class:
Errors

public static class Errors.ErrorMessage extends Object
Error message with a severity and a source. Used from Errors.
  • Method Details

    • getSeverity

      public Severity getSeverity()
      Returns:
      severity of current ErrorMessage.
    • getMessage

      public String getMessage()
      Human-readable description of the issue.
      Returns:
      message describing the issue.
    • getSource

      public Object getSource()
      The issue source.

      Identifies the object where the issue was found.

      Returns:
      source of the issue.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object