}
}
}
private void compile(CompensationHandler compensationHandler) {
OScope oscope = _structureStack.topScope();
oscope.compensationHandler = new OCompensationHandler(_oprocess, oscope);
oscope.compensationHandler.name = "__compenationHandler_" + oscope.name;
oscope.compensationHandler.debugInfo = createDebugInfo(compensationHandler, null);
if (compensationHandler == null) {
oscope.compensationHandler.activity = createDefaultCompensateActivity(compensationHandler,
"Auto-generated 'compensate all' pseudo-activity for default compensation handler on "
+ oscope.toString());
} else {
_recoveryContextStack.push(oscope);
try {
oscope.compensationHandler.activity = compile(compensationHandler.getActivity());
} finally {