public class ErrorResponse
extends java.lang.Object
| Constructor and Description |
|---|
ErrorResponse(int code,
java.lang.String type,
java.lang.String message)
Constructs a
ErrorResponse instance with code, type and message. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns the error code.
|
java.lang.String |
getMessage()
Returns the error message.
|
java.lang.String |
getType()
Returns the error type.
|