"camunda" wrote : In reality I don't like the use of exception handlers in
the process too much.
|
| On the other hand is fault handling quite important in BPEL, so I think something
comparable should be go into jPDL 4 too. So I think exception handlers are important for
the language, because they are expected by the users...
|
| Even if I agree with you that it could be solved better by abstract base classes or
the like.
|
| Cheers
| BErnd
i didn't really express the value that i see in exception handlers yet. there are now
2 reasons why i think they can be valuable:
1) configurability. if you do it in a base class, there is only one, hard-coded way of
handling the exception. While if you use exception handlers, you can in the process
decide whether you want to send an email to an admin or start another process in case of
failure.
2) transactions. we can offer the infrastructure to execute the exception handler inside
the failing transaction or as a synchronization creating a separate transaction right
after the failing transaction rolled back.
though both these arguments are maybe not enough to add them...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132792#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...