mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
use simple type name in "missing parameter" exception text
This commit is contained in:
+1
-1
@@ -521,7 +521,7 @@ public class AnnotationMethodHandlerAdapter extends PortletContentGenerator
|
||||
|
||||
@Override
|
||||
protected void raiseMissingParameterException(String paramName, Class paramType) throws Exception {
|
||||
throw new MissingPortletRequestParameterException(paramName, paramType.getName());
|
||||
throw new MissingPortletRequestParameterException(paramName, paramType.getSimpleName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user