On 11 July 2013 15:06, Vincent Blondeau <vincent.blondeau@polytech-lille.net> wrote:
Hi,
For Moose on web, I have to implement the loading of a Moose Model by a HTML post request. This request send a file which have to been parsed to create a model.
The parsing launch a Job (by an UIManager) and the Job throws a JobStartNotification at his beginning. JobStartNotification is a subclass of Exception. I use a Zinc Server. So when I do the request, Zinc catch the Exception and send an error as response.
Has a Notification to be considered like an Exception and not like a catchable object, because it's just some information... ?
It is not a question that Notification should be an Exception, but question, if zinc should treat all exceptions as errors.
Cheers, Vincent
-- Best regards, Igor Stasenko.