Hi Peter,
I am using version 1.6.1 stable (we have not changed over to version 1.8
until the stable release comes out).
I have just done some testing, I get a white screen if there is an error in
a listener, but the weird thing is I see the error the first time, but on
page refresh just get a white screen. Not sure why I see the error page
first time though.
Is it going to work for me to be able to still have the exception event
delegate multiple error types to different exception event handlers still?
ie:
<!-- exception handlers -->
<event-handler event="exception" access="private">
<event-mapping event="development" mapping="developmentException"/>
<event-mapping event="test" mapping="testException"/>
<event-mapping event="production" mapping="productionException"/>
<event-mapping event="noEventHandler" mapping="noEventHandlerException"/>
<event-mapping event="missingEventArgs"
mapping="missingEventArgsException"/>
<event-mapping event="maxEvents" mapping="maxEventsException"/>
<notify listener="exceptionListener" method="delegate"/>
</event-handler>
<event-handler event="developmentException" access="private">
<view-page name="exceptionDevelopment" contentarg="mainContent"/>
<!-- render page layout -->
<execute subroutine="publicLayout"/>
</event-handler>
<event-handler event="testException" access="private">
<view-page name="exceptionTest" contentarg="mainContent"/>
<!-- render page layout -->
<execute subroutine="publicLayout"/>
</event-handler>
<event-handler event="productionException" access="private">
<view-page name="exceptionProduction" contentarg="mainContent"/>
<!-- render page layout -->
<execute subroutine="publicLayout"/>
</event-handler>
<event-handler event="noEventHandlerException" access="private">
<view-page name="exceptionNoEventHandler" contentarg="mainContent"/>
<!-- render page layout -->
<execute subroutine="publicLayout"/>
</event-handler>
<event-handler event="missingEventArgsException" access="private">
<view-page name="exceptionMissingEventArgs" contentarg="mainContent"/>
<!-- render page layout -->
<execute subroutine="publicLayout"/>
</event-handler>
<event-handler event="maxEventsException" access="private">
<!-- try to only include the view page -->
<view-page name="exceptionDevelopment"/>
</event-handler>
<!-- end exception handlers -->
That way I have mach ii exception events routed into the "exception" event
handler, then show views depending on type.
HTH
Feel free to ask any more questions of me for clarification.
Regards
Shaun