title: Custom 500 error page using JSF - is the full error message available?
body: <p>In my web.xml the 500 error is handled by a JSF page:</p>
  
  <pre><code>&lt;error-page&gt;
      &lt;error-code&gt;500&lt;/error-code&gt;
      &lt;location&gt;/errorpage.html&lt;/location&gt;
  &lt;/error-page&gt;
  </code></pre>
  
  <p>If the container handles a 500 error and calls this JSF page, is there a request parameter or body content in the request which contains the full error message?</p>
  
  <p>So for example if I use this code in a Servlet to provide a error description with the 500 error:</p>
  
  <pre><code>response.sendError(HttpURLConnection.HTTP_INTERNAL_ERROR, "Some error message");
  </code></pre>
  
  <p>is there a standard way to get the text "Some error message" from the request?</p>