public final class StatusCode extends Object
| Modifier and Type | Field and Description |
|---|---|
static StatusCode |
BAD |
static StatusCode |
GOOD |
static StatusCode |
UNCERTAIN |
| Constructor and Description |
|---|
StatusCode(int value) |
StatusCode(long value) |
StatusCode(UInteger value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getValue() |
int |
hashCode() |
boolean |
isBad() |
boolean |
isGood() |
boolean |
isOverflowSet() |
boolean |
isSecurityError() |
boolean |
isUncertain() |
String |
toString() |
StatusCode |
withoutOverflow()
Clear the DataValue InfoType and Overflow InfoBits.
|
StatusCode |
withOverflow()
Set the DataValue InfoType and Overflow InfoBits.
|
public static final StatusCode GOOD
public static final StatusCode BAD
public static final StatusCode UNCERTAIN
public StatusCode(int value)
public StatusCode(long value)
public StatusCode(UInteger value)
public long getValue()
public boolean isGood()
public boolean isBad()
public boolean isUncertain()
public StatusCode withOverflow()
StatusCode DataValue and Overflow bits set.public StatusCode withoutOverflow()
StatusCode with DataValue and Overflow bits cleared.public boolean isOverflowSet()
true if DataValue and Overflow bits are set.public boolean isSecurityError()
true if the StatusCode is considered security-related for the purpose of diagnostics.Copyright © 2025. All rights reserved.