use simple type name in "missing parameter" exception text

This commit is contained in:
Juergen Hoeller
2010-03-30 21:13:12 +00:00
parent ea7ff5241d
commit 20de98362a
2 changed files with 2 additions and 2 deletions

View File

@@ -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