Package cronapi
Class ErrorResponse
java.lang.Object
cronapi.ErrorResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeExceptioncreateException(Throwable ex, String method) static StringgetError()static StringgetExceptionMessage(Throwable ex, String method) static StringgetExceptionMessage(Throwable ex, String method, String entity) static StringintvoidvoidsetStackTrace(String stackTrace) voidsetStatus(int status)
-
Constructor Details
-
ErrorResponse
-
-
Method Details
-
getError
-
getMethod
-
setError
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getStackTrace
-
setStackTrace
-
createException
-
getExceptionMessage
-
getMessageWithoutPackage
-
getConstraintViolationException
-
getExceptionMessage
-