Error 类
定义
Encapsulates error related details in the Azure Cosmos DB database service.
public class Error extends Resource
- 继承
继承成员
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
Resource.getETag()
JsonSerializable.getHashMap()
Resource.getId()
JsonSerializable.getInt(String propertyName)
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(Collection<String> propertyNames)
Resource.getResourceId()
Resource.getSelfLink()
JsonSerializable.getString(String propertyName)
Resource.getTimestamp()
JsonSerializable.has(String propertyName)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.JsonSerializable(JSONObject jsonObject)
JsonSerializable.remove(String propertyName)
Resource.Resource()
Resource.Resource(String jsonString, ObjectMapper objectMapper)
Resource.Resource(String jsonString)
Resource.Resource(JSONObject jsonObject)
Resource.setId(String id)
Resource.setResourceId(String resourceId)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
JsonSerializable.toString(int indentFactor)
构造函数
Error() |
Initialize a new instance of the Error object. |
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.
|
Error(String jsonString) |
Initialize a new instance of the Error object from a JSON string.
|
方法
getCode() |
Gets the error code.
|
getErrorDetails() |
Gets the error details.
|
getMessage() |
Gets the error message.
|
getPartitionedQueryExecutionInfo() |
Gets the partitioned query execution info.
|