InnerError Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. InnerError
- com.
Implements
public final class InnerError
implements JsonSerializable<InnerError>
Inner error details.
Constructor Summary
Constructor | Description |
---|---|
InnerError() |
Creates an instance of Inner |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
errordetail()
Get the errordetail property: The internal error message or exception dump. |
String |
exceptiontype()
Get the exceptiontype property: The exception type. |
static
Inner |
fromJson(JsonReader jsonReader)
Reads an instance of Inner |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Inner |
withErrordetail(String errordetail)
Set the errordetail property: The internal error message or exception dump. |
Inner |
withExceptiontype(String exceptiontype)
Set the exceptiontype property: The exception type. |
Methods inherited from java.lang.Object
Constructor Details
InnerError
public InnerError()
Creates an instance of InnerError class.
Method Details
errordetail
public String errordetail()
Get the errordetail property: The internal error message or exception dump.
Returns:
exceptiontype
public String exceptiontype()
Get the exceptiontype property: The exception type.
Returns:
fromJson
public static InnerError fromJson(JsonReader jsonReader)
Reads an instance of InnerError from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withErrordetail
public InnerError withErrordetail(String errordetail)
Set the errordetail property: The internal error message or exception dump.
Parameters:
Returns:
withExceptiontype
public InnerError withExceptiontype(String exceptiontype)
Set the exceptiontype property: The exception type.
Parameters:
Returns:
Applies to
Azure SDK for Java