, , , SafeHttpRequest.xssAndHtmlValidation() , HttpServletRequest.getParameter() HttpServletRequest.getHeader(), - . , HttpFilterRequest.doFilter(). , , , HTTP.
, . , java.lang.RuntimeException. , , , xssAndHtmlValidation() . , .
catch . , , , , , , getResponseCode(). , catch sendError() , , .
, , , , , sendError() IllegalStateException . ( ), .
, , HTTP. - ? , , , , , .
Update:
, JSP- ServletException, , exception.getCause().getClass() ( null). , .
JSP- - HTTP- 500 , , , . - , . .
, , , , , . , , , , , , /.