Mach-II/Mach-II-Framework — Issue #16: Exceptions that occur in plugin preProcess and postProcess are not handled by exception handling
Author: mpwoodward
Created: 2012-03-01 00:48:10+00:00
State: open
Labels: bug

(Moved from http://trac.mach-ii.com/machii/ticket/385)

Exceptions that occur in plugin preProcess and postProcess are not handled by exception handling. I'm not sure if this is a defect because in certain situations it would be impossible to handle an exception properly. I went back through the releases back to 1.0.10 and this appears to have been the behavior since then as well. It just seems strange we "don't" attempt to use the exception event-handler. We use the event-handler for all of the other plugin points (except those that are outside of the request such as onSessionStart and onSessionEnd).

Thoughts?

Changed 2 years ago by peterfarrell

Cc kurtwiersma, mattwoodward, brianfitzgerald added; kurtwiersma brianfitzgerald removed
comment:2 Changed 2 years ago by peterfarrell

I should add in that the handleException plugin point is affected as well.