title: Redirect http 500 error to 400
body: <p>When my server receives incomplete xml it returns a <code>500 Internal Server Error</code> back due to the default handling for <code>java.lang.IllegalArgumentException</code>.  I can override the html page that is returned but I also need to override the error code and make it <code>400</code> to follow our documented spec.  Is there a way to override the error code in <code>JSF-2.0</code>?  We are using <code>JAXB</code> for the <code>xml</code> handling.</p>