InnerError Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.InnerError

Implements

public final class InnerError
implements JsonSerializable<InnerError>

Inner error details.

Constructor Summary

Constructor Description
InnerError()

Creates an instance of InnerError class.

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 InnerError fromJson(JsonReader jsonReader)

Reads an instance of InnerError from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InnerError withErrordetail(String errordetail)

Set the errordetail property: The internal error message or exception dump.

InnerError 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:

the errordetail value.

exceptiontype

public String exceptiontype()

Get the exceptiontype property: The exception type.

Returns:

the exceptiontype value.

fromJson

public static InnerError fromJson(JsonReader jsonReader)

Reads an instance of InnerError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InnerError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the InnerError.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

errordetail - the errordetail value to set.

Returns:

the InnerError object itself.

withExceptiontype

public InnerError withExceptiontype(String exceptiontype)

Set the exceptiontype property: The exception type.

Parameters:

exceptiontype - the exceptiontype value to set.

Returns:

the InnerError object itself.

Applies to