Package | Description |
---|---|
br.org.scadabr.api.constants | |
br.org.scadabr.api.utils | |
br.org.scadabr.api.vo |
Modifier and Type | Field and Description |
---|---|
static ErrorCode |
ErrorCode.ACCESS_DENIED |
static ErrorCode |
ErrorCode.INSUFFICIENT_PARAMETERS |
static ErrorCode |
ErrorCode.INVALID_ID |
static ErrorCode |
ErrorCode.INVALID_PARAMETER |
static ErrorCode |
ErrorCode.NOT_SUPPORTED |
static ErrorCode |
ErrorCode.OK |
static ErrorCode |
ErrorCode.READ_ONLY |
static ErrorCode |
ErrorCode.SERVER_BUSY |
static ErrorCode |
ErrorCode.TIMED_OUT |
static ErrorCode |
ErrorCode.UNSPECIFIED_ERROR |
static ErrorCode |
ErrorCode.WRITE_ONLY |
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
ErrorCode.fromString(java.lang.String value) |
static ErrorCode |
ErrorCode.fromValue(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
private static void |
APIUtils.buildErrorArray(ErrorCode code,
java.lang.String description) |
static void |
APIUtils.setError(ErrorCode code,
java.lang.String description) |
Modifier and Type | Field and Description |
---|---|
private ErrorCode |
APIError.code |
Modifier and Type | Method and Description |
---|---|
ErrorCode |
APIError.getCode()
Gets the code value for this APIError.
|
Modifier and Type | Method and Description |
---|---|
void |
APIError.setCode(ErrorCode code)
Sets the code value for this APIError.
|
Constructor and Description |
---|
APIError(ErrorCode code,
java.lang.String description) |