Constructor and Description |
---|
RestError.Builder() |
Modifier and Type | Method and Description |
---|---|
RestError |
build() |
RestError.Builder |
setCode(int code) |
RestError.Builder |
setDeveloperMessage(String developerMessage) |
RestError.Builder |
setMessage(String message) |
RestError.Builder |
setMoreInfoUrl(String moreInfoUrl) |
RestError.Builder |
setStatus(String status) |
RestError.Builder |
setThrowable(Throwable throwable) |
public RestError.Builder setStatus(String status)
public RestError.Builder setCode(int code)
public RestError.Builder setMessage(String message)
public RestError.Builder setDeveloperMessage(String developerMessage)
public RestError.Builder setMoreInfoUrl(String moreInfoUrl)
public RestError.Builder setThrowable(Throwable throwable)
public RestError build()
Copyright © 2009–2014. All rights reserved.