Class Exception
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Exception
Describes a runtime exception encountered during the execution of an analysis tool.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAn array of exception objects each of which is considered a cause of this exception.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.A message that describes the exception.Key/value pairs that provide additional information about the object.getStack()A call stack that is relevant to a result.inthashCode()voidsetInnerExceptions(List<Exception> innerExceptions) An array of exception objects each of which is considered a cause of this exception.voidA 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.voidsetMessage(String message) A message that describes the exception.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidA call stack that is relevant to a result.toString()withInnerExceptions(List<Exception> innerExceptions) withMessage(String message) withProperties(PropertyBag properties)
-
Constructor Details
-
Exception
public Exception()
-
-
Method Details
-
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
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
-
getMessage
A message that describes the exception. -
setMessage
A message that describes the exception. -
withMessage
-
getStack
A call stack that is relevant to a result. -
setStack
A call stack that is relevant to a result. -
withStack
-
getInnerExceptions
An array of exception objects each of which is considered a cause of this exception. -
setInnerExceptions
An array of exception objects each of which is considered a cause of this exception. -
withInnerExceptions
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-