RemoteRenderingServiceError Class

  • java.lang.Object
    • com.azure.mixedreality.remoterendering.models.RemoteRenderingServiceError

public final class RemoteRenderingServiceError

Represents an error in the service.

Constructor Summary

Constructor Description
RemoteRenderingServiceError(String code, String message, String target, RemoteRenderingServiceError innerError, List<RemoteRenderingServiceError> rootErrors)

Constructs a new RemoteRenderingServiceError object.

Method Summary

Modifier and Type Method and Description
String getCode()

Get the code property: Error code.

RemoteRenderingServiceError getInnerError()

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

String getMessage()

Get the message property: A human-readable representation of the error.

String getTarget()

Get the target property: The target of the particular error (e.g., the name of the property in error).

List<RemoteRenderingServiceError> listRootErrors()

List of errors that led to this reported error.

Methods inherited from java.lang.Object

Constructor Details

RemoteRenderingServiceError

public RemoteRenderingServiceError(String code, String message, String target, RemoteRenderingServiceError innerError, List rootErrors)

Constructs a new RemoteRenderingServiceError object.

Parameters:

code - The error code.
message - The human-readable representation of the error.
target - The target of the particular error (e.g., the name of the property in error).
innerError - An object containing more specific information than the current object about the error.
rootErrors - The list of errors that led to this reported error.

Method Details

getCode

public String getCode()

Get the code property: Error code.

Returns:

the code value.

getInnerError

public RemoteRenderingServiceError getInnerError()

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

Returns:

the innerError value.

getMessage

public String getMessage()

Get the message property: A human-readable representation of the error.

Returns:

the message value.

getTarget

public String getTarget()

Get the target property: The target of the particular error (e.g., the name of the property in error).

Returns:

the target value.

listRootErrors

public List listRootErrors()

List of errors that led to this reported error.

Returns:

the list of errors.

Applies to