public class Error extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Error.TypeEnum
Identifies the type of error.
|
| Constructor and Description |
|---|
Error() |
| Modifier and Type | Method and Description |
|---|---|
Error |
detail(String detail) |
boolean |
equals(Object o) |
String |
getDetail()
Human readable detailed error description.
|
Integer |
getStatus()
The numeric HTTP Status Code, e.g.
|
String |
getTitle()
Human readable high level error description.
|
Error.TypeEnum |
getType()
Identifies the type of error.
|
int |
hashCode() |
void |
setDetail(String detail) |
void |
setStatus(Integer status) |
void |
setTitle(String title) |
void |
setType(Error.TypeEnum type) |
Error |
status(Integer status) |
Error |
title(String title) |
String |
toString() |
Error |
type(Error.TypeEnum type) |
public String getTitle()
public void setTitle(String title)
public Integer getStatus()
public void setStatus(Integer status)
public String getDetail()
public void setDetail(String detail)
public Error type(Error.TypeEnum type)
public Error.TypeEnum getType()
public void setType(Error.TypeEnum type)
Copyright © 2020. All rights reserved.