java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Exception

public class Exception extends Object
Describes a runtime exception encountered during the execution of an analysis tool.
  • Constructor Details

    • Exception

      public Exception()
  • Method Details

    • getKind

      public String getKind()
      A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal.
    • setKind

      public void setKind(String kind)
      A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal.
    • withKind

      public Exception withKind(String kind)
    • getMessage

      public String getMessage()
      A message that describes the exception.
    • setMessage

      public void setMessage(String message)
      A message that describes the exception.
    • withMessage

      public Exception withMessage(String message)
    • getStack

      public Stack getStack()
      A call stack that is relevant to a result.
    • setStack

      public void setStack(Stack stack)
      A call stack that is relevant to a result.
    • withStack

      public Exception withStack(Stack stack)
    • getInnerExceptions

      public List<Exception> getInnerExceptions()
      An array of exception objects each of which is considered a cause of this exception.
    • setInnerExceptions

      public void setInnerExceptions(List<Exception> innerExceptions)
      An array of exception objects each of which is considered a cause of this exception.
    • withInnerExceptions

      public Exception withInnerExceptions(List<Exception> innerExceptions)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public Exception withProperties(PropertyBag properties)
    • toString

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object