| Constructor and Description |
|---|
ErrorResponse(ErrorCode errorCode,
org.springframework.validation.BindingResult bindingResult) |
ErrorResponse(ErrorCode errorCode,
List<org.springframework.validation.BindingResult> bindingResults) |
ErrorResponse(ErrorCode errorCode,
Set<javax.validation.ConstraintViolation<?>> constraintViolations) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode() |
Object |
getHints() |
String |
getMessage() |
boolean |
isSuccess() |
void |
setErrorCode(ErrorCode errorCode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertFalse, assertNotNull, assertTrue, build, build, build, build, failpublic ErrorResponse(ErrorCode errorCode, org.springframework.validation.BindingResult bindingResult)
public ErrorResponse(ErrorCode errorCode, List<org.springframework.validation.BindingResult> bindingResults)
public void setErrorCode(ErrorCode errorCode)
public Object getHints()
public String getMessage()
getMessage in interface ErrorCodeCopyright © 2022 DOYToWin. All rights reserved.