public class ApiErrorDto extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiErrorDto.Builder |
| Constructor and Description |
|---|
ApiErrorDto(String message,
String details) |
| Modifier and Type | Method and Description |
|---|---|
static ApiErrorDto.Builder |
builder() |
boolean |
equals(Object other) |
static ApiErrorDto.Builder |
fromThrowable(Throwable t) |
String |
getDetails() |
String |
getMessage() |
int |
hashCode() |
String |
toString() |
public static ApiErrorDto.Builder builder()
public static ApiErrorDto.Builder fromThrowable(Throwable t)
ApiErrorDto.Builder whose message is initialised to either the throwable's
message or the throwable's class name if the message is null and whose details are
initialised to the throwable's stack trace.public String getMessage()
public String getDetails()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.