 system event facility to publish an <a href="../event/ExceptionQueuedEvent.html" title="class in jakarta.faces.event"><code>ExceptionQueuedEvent</code></a> that wraps the <code>Exception</code>.
 </p>

 <p>
 This approach requires manually publishing the <a href="../event/ExceptionQueuedEvent.html" title="class in jakarta.faces.event"><code>ExceptionQueuedEvent</code></a>, but allows more information about the
 <code>Exception</code>to be stored in the event. The following code is an example of how to do t