ErrorResponse Class

Definition

Describes the format of Error response.

public final class ErrorResponse
Inheritance
java.lang.Object
ErrorResponse

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

ErrorResponse()

Methods

getCode()

Get the code property: Error code.

getMessage()

Get the message property: Error message indicating why the operation failed.

setCode(String code)

Set the code property: Error code.

setMessage(String message)

Set the message property: Error message indicating why the operation failed.

validate()

Validates the instance.

Applies to