public class CosmosError extends Resource
| Constructor and Description |
|---|
CosmosError()
Initialize a new instance of the Error object.
|
CosmosError(String errorCode,
String message)
Initialize a new instance of the Error object.
|
CosmosError(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.
|
etag, id, id, resourceId, resourceId, selfLink, timestampget, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toStringpublic CosmosError()
public CosmosError(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 © 2019. All rights reserved.