public class ErrorResult extends APIResult
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_API_ERROR |
static int |
ERROR_AUTHORIZATION_FAILED |
static int |
ERROR_DATABASE_MISSING |
static int |
ERROR_DOCUMENT_ID_EXISTS |
static int |
ERROR_DOCUMENT_NOT_FOUND |
static int |
ERROR_INVALID_CALL |
static int |
ERROR_UNKNOWN |
Constructor and Description |
---|
ErrorResult(int code)
Set the error code.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Accessor for the error code's value.
|
java.lang.String |
toString()
Return a descriptive error message to match the error code.
|
public static final int ERROR_DOCUMENT_NOT_FOUND
public static final int ERROR_DOCUMENT_ID_EXISTS
public static final int ERROR_AUTHORIZATION_FAILED
public static final int ERROR_API_ERROR
public static final int ERROR_DATABASE_MISSING
public static final int ERROR_INVALID_CALL
public static final int ERROR_UNKNOWN
Copyright © 2010 - 2020 Adobe. All Rights Reserved