SPR-6246: split up Velocity test cases for neatness. Add fix for bug in exception creation in VelocityView.

This commit is contained in:
David Syer
2009-10-28 13:43:27 +00:00
parent 3346752cfd
commit bce723d9e3
13 changed files with 582 additions and 177 deletions

View File

@@ -70,7 +70,7 @@ public class NestedServletException extends ServletException {
super(msg, cause);
// Set JDK 1.4 exception chain cause if not done by ServletException class already
// (this differs between Servlet API versions).
if (getCause() == null) {
if (getCause() == null && cause!=null) {
initCause(cause);
}
}