@Produces(value="application/json") public class ExceptionToJson extends Object implements Serializable
Constructor and Description |
---|
ExceptionToJson() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage() |
Throwable |
getException() |
String |
getExceptionClass() |
int |
getHttpErrorCode() |
String |
getStackTrace() |
void |
setErrorMessage(String errorMessage) |
void |
setException(Throwable exception) |
void |
setExceptionClass(String exceptionClass) |
void |
setHttpErrorCode(int errorCode) |
void |
setStackTrace(String stackTrace) |
public int getHttpErrorCode()
public void setHttpErrorCode(int errorCode)
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
public String getStackTrace()
public void setStackTrace(String stackTrace)
public Throwable getException()
public void setException(Throwable exception)
public String getExceptionClass()
public void setExceptionClass(String exceptionClass)