ErrorResponse Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. ErrorResponse
- com.
Implements
public final class ErrorResponse
implements JsonSerializable<ErrorResponse>
Describes the error that occurred.
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorResponse() |
Creates an instance of Error |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: Error code associated with the error that occurred. |
|
static
Error |
fromJson(JsonReader jsonReader)
Reads an instance of Error |
| String |
message()
Get the message property: Describes the error in detail. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ErrorResponse
public ErrorResponse()
Creates an instance of ErrorResponse class.
Method Details
code
public String code()
Get the code property: Error code associated with the error that occurred.
Returns:
fromJson
public static ErrorResponse fromJson(JsonReader jsonReader)
Reads an instance of ErrorResponse from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Describes the error in detail.
Returns:
toJson
validate
public void validate()
Validates the instance.