ThorstenSuckow
16 Sep 2009, 4:04 AM
I've written a plugin for the Zend Framework that is able to stack multiple requests - if Ext merges multiple request into one, the Plugin is able to recognize this and processes each individually.
However, its unclear to me how to handle an exception that gets thrown _before_ the processing starts.
Let's say Ext merges 3 requests into one.
Zend framework gets the request, sees that 3 requests have been merged into one and splits them to process each individually. Now what happens is, that the very first request which holds the stack triggers an error before the stack gets processed. Do I have to send 3 Exceptions holding the "tid" back or is it okay if I only send one exception back, without the "tid"s?
However, its unclear to me how to handle an exception that gets thrown _before_ the processing starts.
Let's say Ext merges 3 requests into one.
Zend framework gets the request, sees that 3 requests have been merged into one and splits them to process each individually. Now what happens is, that the very first request which holds the stack triggers an error before the stack gets processed. Do I have to send 3 Exceptions holding the "tid" back or is it okay if I only send one exception back, without the "tid"s?