Wrath of incompatible throws clause in SimpleTagSupport.doTag()
posted 9 years ago
I've been pressing for increased use of tags, beans, and EL, but I keep running into a problem. There is much weeping and gnashing of teeth whenever someone needs to throw an exception as you need to wrap everything in JspException. This sort of ruins our whole exception framework, as previously we would throw exceptions up the hierarchy to the JSP, and we could see what kind of errors it was at the top, but since JspException wraps everything now we have to dig down to find the real exception. Is there a way around this?