restored 1.4 compatibility

This commit is contained in:
Keith Donald
2008-05-14 11:38:43 +00:00
parent c429078dff
commit 272bb9e146

View File

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