Package ch.tocco.nice2.web.core.api
Class ErrorMessage
java.lang.Object
ch.tocco.nice2.web.core.api.ErrorMessage
- Direct Known Subclasses:
CascadingDeleteDeniedErrorMessage
,ErrorIdMessage
,OutdatedEntityErrorMessage
,PathResolveLimitExceededMessage
,ValidationFailureMessage
-
Constructor Summary
ConstructorDescriptionErrorMessage
(int status, String message) ErrorMessage
(int status, String message, @Nullable String errorCode) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
int
setErrorCode
(String errorCode) void
setMessage
(String message) void
setStatus
(int status)
-
Constructor Details
-
ErrorMessage
public ErrorMessage() -
ErrorMessage
-
ErrorMessage
-
-
Method Details
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getMessage
-
setMessage
-
getErrorCode
-
setErrorCode
-