ResourceErrorResponse Class

Definition

Error response indicates ARM is not able to process the incoming request. The reason is provided in the error message.

public class ResourceErrorResponse
Inheritance
java.lang.Object
ResourceErrorResponse

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

ResourceErrorResponse()

Methods

errorCode()

Get error code.

errorMessage()

Get error message indicating why the operation failed.

httpStatus()

Get http status code.

withErrorCode(String errorCode)

Set error code.

withErrorMessage(String errorMessage)

Set error message indicating why the operation failed.

withHttpStatus(String httpStatus)

Set http status code.

Applies to