@Anatoly,<br>I think that JVM crash, Hard Drive crash, or Network failure are not responsibility of the framework. <br>In this kind of situations you must create the mechanisms to handle each situation. The only framework concern is that the information persisted is always coherent.<br>
<br>@Kris<br>The 3.8 Exceptions in the docs is well focused in the high level process faults.<br><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 1:26 AM, tolitius <span dir="ltr">&lt;<a href="mailto:webakaunt@gmail.com">webakaunt@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
@Kris,<br>
<br>
    If every workitem needs to have a &quot;try / catch&quot; block, just to make sure<br>
that all possible exceptions are handled gracefully, would not that be a<br>
framework concern to have a mechanism that _converts_ these exceptions to<br>
some return &quot;error&quot; parameters (just contemplating here) OR to allow a<br>
workitem node to take an ExceptionHandler that would signal an event or<br>
convert it to the result parameter, etc..?<br>
<br>
    I understand that you are coming from the fact that Java Exceptions are<br>
too low level, and are not Process Exceptions, but they really are :)<br>
[something went &quot;kaboom&quot; within the _Process_] just need to be converted to<br>
ones, and it would be a natural concern for a &quot;Java&quot; framework.<br>
<br>
    One custom approach that I am thinking about so far is to wrap all<br>
workitems with &quot;AfterThrowing&quot; advice to do just that, but again this rather<br>
feels like a &quot;work around&quot;.<br>
<br>
Thank you,<br>
/Anatoly<br>
<br>
P.S. By the way, would be cool to address real &quot;Java&quot; Exceptions (no matter<br>
what the approach is) in Exception Handling section of the documentation :)<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/How-to-do-Exception-Handling-tp689387p707668.html" target="_blank">http://n3.nabble.com/How-to-do-Exception-Handling-tp689387p707668.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>