fix for undertow behavior on users exceptions to replicate behavior of Jetty and Tomcat