eclipselabs / passerelle

Passerelle, an actor-based process engine based on Ptolemy II
5 stars 3 forks source link

Support hierarchic error handling in models #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As mentioned in the PasserelleErrorHandling wiki page, the goal is to support 
more advanced error handling in a model.

Two features are desirable :
- hierarchic error handling, where subflows can have their own "error handling 
scope". But when the local scope has no fitting error handling, the error 
should be propagated up the model hierarchy
- filtering and routing of error logic based on simple criteria. Here the 
concept of error codes as described in Issue 22 would be the preferred choice 
to filter/route on.

Original issue reported on code.google.com by erwin...@gmail.com on 15 Nov 2012 at 5:31

GoogleCodeExporter commented 9 years ago
Filtering criteria :
- Severity
- Error Code (regexp) PAS-1234
- Exception class (instanceof)
- Name of the source actor (regexp to allow both short names and qualified 
names)

Original comment by erwin...@gmail.com on 20 Nov 2012 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by erwin...@gmail.com on 15 Dec 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Done without filtering option on exception class.
Error codes should be used by preference to differentiate detailed error types.

Original comment by erwin...@gmail.com on 5 Jan 2013 at 11:20