Just reusing the message from the nested Exception loses the context of the message. This is making it impossible to debug certain Errors. For example "java.lang.NoClassDefFoundError: com/x/y/ClassName" turns into: "javax.servlet.ServletException: com/x/y/ClassName" which is much less helpful. This patch is just the first step, the second is to have the dynamically generated error page unnest all levels of Throwables, right now it just unnests one.
This patch has been committed to TC4 and TC5.