|
@@ -245,7 +245,7 @@ public abstract class ControllerSupport {
|
|
protected String getRequiredStringParam(String paramName) {
|
|
protected String getRequiredStringParam(String paramName) {
|
|
String value = getRequest().getParameter(paramName);
|
|
String value = getRequest().getParameter(paramName);
|
|
if (StringUtils.isBlank(value)) {
|
|
if (StringUtils.isBlank(value)) {
|
|
- throw new StatusException("520", "参数为空");
|
|
|
|
|
|
+ throw new StatusException("520", "param is missing. paramName=" + paramName);
|
|
} else {
|
|
} else {
|
|
return value.trim();
|
|
return value.trim();
|
|
}
|
|
}
|