public class Error extends Resource
Constructor and Description |
---|
Error()
Initialize a new instance of the Error object.
|
Error(String jsonString)
Initialize a new instance of the Error object from a JSON string.
|
Error(String errorCode,
String message)
Initialize a new instance of the Error object.
|
Error(String errorCode,
String message,
String additionalErrorInfo)
Initialize a new instance of the Error object.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Gets the error code.
|
String |
getErrorDetails()
Gets the error details.
|
String |
getMessage()
Gets the error message.
|
String |
getPartitionedQueryExecutionInfo()
Gets the partitioned query execution info.
|
getETag, getId, getResourceId, getSelfLink, getTimestamp, setId, setResourceId
get, getBoolean, getCollection, getCollection, getDouble, getHashMap, getInt, getLogger, getLong, getMapper, getObject, getObject, getObjectByPath, getString, has, remove, set, toJson, toJson, toObject, toString
public Error()
public Error(String jsonString)
jsonString
- the jsonString that represents the error.public Error(String errorCode, String message)
errorCode
- the error code.message
- the error message.public String getCode()
public String getMessage()
public String getErrorDetails()
public String getPartitionedQueryExecutionInfo()
Copyright © 2018. All rights reserved.