On Jun 10, 2011, at 5:26 PM, Charles Oliver Nutter wrote: > If postException does *not* re-throw the error, then it's not a > finally clause; it's a catch clause, which *should* then run the > postCall result too.
Yes. Put the postCall wrapper *outside* the postException wrapper. That way the postCall guy won't participate in the special exception processing. If postException catches and discards the exception, then it will return normally to the postCall wrapper. If you want the postCall wrapper to distinguish the caught-exception case from the normal-return case, you may have to contrive a boolean flag variable, for them to share, so the inner wrapper can tell the outer wrapper what happened. -- John -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com. To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.