Class RemoteRenderingServiceError
java.lang.Object
com.azure.mixedreality.remoterendering.models.RemoteRenderingServiceError
Represents an error in the service.
-
Constructor Summary
ConstructorDescriptionRemoteRenderingServiceError
(String code, String message, String target, RemoteRenderingServiceError innerError, List<RemoteRenderingServiceError> rootErrors) Constructs a new RemoteRenderingServiceError object. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Get the code property: Error code.Get the innerError property: An object containing more specific information than the current object about the error.Get the message property: A human-readable representation of the error.Get the target property: The target of the particular error (e.g., the name of the property in error).List of errors that led to this reported error.
-
Constructor Details
-
RemoteRenderingServiceError
public RemoteRenderingServiceError(String code, String message, String target, RemoteRenderingServiceError innerError, List<RemoteRenderingServiceError> 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
Get the code property: Error code.- Returns:
- the code value.
-
getMessage
Get the message property: A human-readable representation of the error.- Returns:
- the message value.
-
getTarget
Get the target property: The target of the particular error (e.g., the name of the property in error).- Returns:
- the target value.
-
getInnerError
Get the innerError property: An object containing more specific information than the current object about the error.- Returns:
- the innerError value.
-
listRootErrors
List of errors that led to this reported error.- Returns:
- the list of errors.
-