Class ErrorMessage

java.lang.Object
ch.tocco.nice2.web.core.api.ErrorMessage
Direct Known Subclasses:
CascadingDeleteDeniedErrorMessage, ErrorIdMessage, OutdatedEntityErrorMessage, PathResolveLimitExceededMessage, ValidationFailureMessage

public class ErrorMessage extends Object
  • Constructor Details

    • ErrorMessage

      public ErrorMessage()
    • ErrorMessage

      public ErrorMessage(int status, String message)
    • ErrorMessage

      public ErrorMessage(int status, String message, @Nullable @Nullable String errorCode)
  • Method Details

    • getStatus

      public int getStatus()
    • setStatus

      public void setStatus(int status)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getErrorCode

      @Nullable public @Nullable String getErrorCode()
    • setErrorCode

      public ErrorMessage setErrorCode(String errorCode)