ErrorResponse Class

Definition

Error Response.

public 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

code()

Get error code.

message()

Get error message indicating why the operation failed.

withCode(String code)

Set error code.

withMessage(String message)

Set error message indicating why the operation failed.

Applies to