mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
SPR-6246: split up Velocity test cases for neatness. Add fix for bug in exception creation in VelocityView.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2214 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user