MonitorPropertiesErrors Class

public final class MonitorPropertiesErrors
extends Error

Defines the SAP monitor errors.

Constructor Summary

Constructor Description
MonitorPropertiesErrors()

Creates an instance of MonitorPropertiesErrors class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Server-defined set of error codes.

List<Error> details()

Get the details property: Array of details about specific errors that led to this reported error.

static MonitorPropertiesErrors fromJson(JsonReader jsonReader)

Reads an instance of MonitorPropertiesErrors from the JsonReader.

ErrorInnerError innerError()

Get the innerError property: Object containing more specific information than the current object about the error.

String message()

Get the message property: Human-readable representation of the error.

String target()

Get the target property: Target of the error.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from Error

Methods inherited from java.lang.Object

Constructor Details

MonitorPropertiesErrors

public MonitorPropertiesErrors()

Creates an instance of MonitorPropertiesErrors class.

Method Details

code

public String code()

Get the code property: Server-defined set of error codes.

Overrides:

MonitorPropertiesErrors.code()

Returns:

the code value.

details

public List<Error> details()

Get the details property: Array of details about specific errors that led to this reported error.

Overrides:

MonitorPropertiesErrors.details()

Returns:

the details value.

fromJson

public static MonitorPropertiesErrors fromJson(JsonReader jsonReader)

Reads an instance of MonitorPropertiesErrors from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MonitorPropertiesErrors 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 MonitorPropertiesErrors.

innerError

public ErrorInnerError innerError()

Get the innerError property: Object containing more specific information than the current object about the error.

Overrides:

MonitorPropertiesErrors.innerError()

Returns:

the innerError value.

message

public String message()

Get the message property: Human-readable representation of the error.

Overrides:

MonitorPropertiesErrors.message()

Returns:

the message value.

target

public String target()

Get the target property: Target of the error.

Overrides:

MonitorPropertiesErrors.target()

Returns:

the target value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MonitorPropertiesErrors.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MonitorPropertiesErrors.validate()

Applies to