public class ApiError extends Object implements Serializable
Constructor and Description |
---|
ApiError(ApiErrorType type,
int status,
String message) |
ApiError(ApiErrorType type,
int status,
String message,
String detailMessage) |
Modifier and Type | Method and Description |
---|---|
String |
getDetailMessage() |
String |
getMessage() |
int |
getStatus() |
ApiErrorType |
getType() |
ApiError |
setDetailedDescription(String detailMessage) |
void |
setStatus(int status) |
public ApiError(ApiErrorType type, int status, String message)
public ApiError(ApiErrorType type, int status, String message, String detailMessage)
public int getStatus()
public ApiErrorType getType()
public String getMessage()
public String getDetailMessage()
public void setStatus(int status)
Copyright © 2019 iland Internet Solutions, Corp. All rights reserved.