EvaluationReason.getKind()
instead and check
for the EvaluationReason.Kind.ERROR
value.@Deprecated public static class EvaluationReason.Error extends EvaluationReason
EvaluationReason
that indicates that the flag could not be evaluated.EvaluationReason.Error, EvaluationReason.ErrorKind, EvaluationReason.Fallthrough, EvaluationReason.Kind, EvaluationReason.Off, EvaluationReason.PrerequisiteFailed, EvaluationReason.RuleMatch, EvaluationReason.TargetMatch
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Deprecated.
|
EvaluationReason.ErrorKind |
getErrorKind()
Deprecated.
An enumeration value indicating the general category of error.
|
java.lang.Exception |
getException()
Deprecated.
Returns the exception that caused the error condition, if applicable.
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
error, exception, fallthrough, getKind, getPrerequisiteKey, getRuleId, getRuleIndex, off, prerequisiteFailed, ruleMatch, targetMatch
public EvaluationReason.ErrorKind getErrorKind()
getErrorKind
in class EvaluationReason
public java.lang.Exception getException()
This is only set if getErrorKind()
is EvaluationReason.ErrorKind.EXCEPTION
.
getException
in class EvaluationReason
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class EvaluationReason