From 272bb9e146691c68b07e30e2098e82c015ec9959 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Wed, 14 May 2008 11:38:43 +0000 Subject: [PATCH] restored 1.4 compatibility --- .../org/springframework/webflow/mvc/view/AbstractMvcView.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/AbstractMvcView.java b/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/AbstractMvcView.java index a751caeb..5ba392b1 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/AbstractMvcView.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/mvc/view/AbstractMvcView.java @@ -123,7 +123,9 @@ public abstract class AbstractMvcView implements View { } catch (IOException e) { throw e; } catch (Exception e) { - throw new IllegalStateException("Unexpected exception occurred rendering view " + view, e); + IllegalStateException ise = new IllegalStateException("Exception occurred rendering view " + view); + ise.initCause(e); + throw ise; } }