public class ValidationResult extends Object
| Constructor and Description |
|---|
ValidationResult() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getErrorMsg() |
String |
getMessage()
获取异常消息组装
|
boolean |
isHasErrors() |
void |
setErrorMsg(Map<String,String> errorMsg) |
void |
setHasErrors(boolean hasErrors) |
String |
toString() |
public String getMessage()
public boolean isHasErrors()
public void setHasErrors(boolean hasErrors)
Copyright © 2021. All rights reserved.