public class ErrorInfo
The information describing an error.
This is returned by a exception handler when an exception occurs and is used to build a response.
| Constructor and Description |
|---|
ErrorInfo(int status,
java.lang.String message)
The information describing an error.
|
| Modifier and Type | Method and Description |
|---|---|
int |
component1() |
java.lang.String |
component2() |
ErrorInfo |
copy(int status,
java.lang.String message)
The information describing an error.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getMessage() |
int |
getStatus() |
int |
hashCode() |
java.lang.String |
toString() |
public ErrorInfo(int status,
java.lang.String message)
The information describing an error.
This is returned by a exception handler when an exception occurs and is used to build a response.
public int getStatus()
public java.lang.String getMessage()
public int component1()
public java.lang.String component2()
public ErrorInfo copy(int status, java.lang.String message)
The information describing an error.
This is returned by a exception handler when an exception occurs and is used to build a response.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)