A simple example: More precise rethrow analysis.
简单示例:更精确的重新抛出(rethrow)分析。
This is where you can use the compensate, rethrow, or empty activities, in addition to any other activity.
在这里可以使用补偿、重新抛出或空活动,还可以使用任何其他活动。
What's new in 1.4 is that if you rethrow an exception from the catch clause, you can attach the original cause of the exception.
发行版 1.4中的新功能是如果从catch 子句重新抛出了一个异常,您可以附加上该异常的初始原因。
First, it was meant to prevent someone assigning, say, an SQLException to t (which would be a legal assignment, but then would no longer be an acceptable candidate for rethrow).
首先,这是为了防止人为分配,就是所说的针对t 的SQLException(这将是一种合法的指定,但是随后将不再是重新抛出的恰当选择)。
First, it was meant to prevent someone assigning, say, an SQLException to t (which would be a legal assignment, but then would no longer be an acceptable candidate for rethrow).
首先,这是为了防止人为分配,就是所说的针对t 的SQLException(这将是一种合法的指定,但是随后将不再是重新抛出的恰当选择)。
应用推荐