For more information:
I have configured the web.xml of Ivy Server like this link
http://developer.axonivy.com/doc/latest/EngineGuideHtml/configuration.html#configuration-errorhandling
<blockquote><pre><code>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/custom-error-page.xhtml</location>
</error-page>
</blockquote></code></pre>