[richfaces-issues] [JBoss JIRA] Created: (RF-11128) Publish JSF 2.0 ExceptionQueuedEvent (instead of log.error)

Martin Kočí (JIRA) jira-events at lists.jboss.org
Thu Jul 14 08:38:24 EDT 2011


Publish JSF 2.0 ExceptionQueuedEvent (instead of log.error)
-----------------------------------------------------------

                 Key: RF-11128
                 URL: https://issues.jboss.org/browse/RF-11128
             Project: RichFaces
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: core
         Environment: RF 4.1 develop
            Reporter: Martin Kočí


use JSF 2.0 ExceptionQueuedEvent

try {
//
} catch (Exception e) {
            ExceptionQueuedEventContext exceptionQueuedEventContext = new ExceptionQueuedEventContext(context, e, this, PhaseId.XYZ);
            context.getApplication().publishEvent(context, ExceptionQueuedEvent.class, exceptionQueuedEventContext);
}

instead of logging. Example: ExtendedPartialViewContextImpl logs exception as severe and that prevents (custom) exception handler to handle that error.

Related issues from MyFaces:
# https://issues.apache.org/jira/browse/MYFACES-3053
# https://issues.apache.org/jira/browse/MYFACES-3198
# https://issues.apache.org/jira/browse/MYFACES-3201

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list