private OFailureHandling getFailureHandling() { if (_oactivity instanceof OInvoke) { OInvoke _oinvoke = (OInvoke) _oactivity; OFailureHandling f = getBpelRuntimeContext().getConfigForPartnerLink(_oinvoke.partnerLink).failureHandling; if (f != null) return f; } return _oactivity.getFailureHandling(); }
protected OConstants getConstants() { return _self.o.getOwner().constants; }
protected void sendEvent(ActivityEvent event) { event.setActivityName(_self.o.name); event.setActivityType(_self.o.getType()); event.setActivityDeclarationId(_self.o.getId()); event.setActivityId(_self.aId); if (event.getLineNo() == -1) { event.setLineNo(getLineNo()); } sendEvent((ScopeEvent) event); }
static private void failureHandlinExtensibilityElement(OActivity output, BpelObject src) { // Failure handling extensibility element. Element element = src.getExtensibilityElement(ExtensibilityQNames.FAILURE_HANDLING); if (element == null) return; FailureHandling extElement = new FailureHandling(element); OFailureHandling obj = new OFailureHandling(); obj.retryFor = extElement.getRetryFor(); obj.retryDelay = extElement.getRetryDelay(); obj.faultOnFailure = extElement.getFaultOnFailure(); output.setFailureHandling(obj); }
__log.debug(lvaluePtr + ": " + msg); throw new FaultException( getOActivity().getOwner().constants.qnSelectionFailure, msg);
} catch (RuntimeException e) { __log.error("iid: " + getBpelRuntimeContext().getPid() + " error evaluating lvalue"); throw new FaultException(getOActivity().getOwner().constants.qnSelectionFailure, e.getMessage()); throw new FaultException(getOActivity().getOwner().constants.qnSelectionFailure, msg);
if (__log.isDebugEnabled()) __log.debug(expression + ": " + msg); if (e.getCause() instanceof FaultException) throw (FaultException)e.getCause(); throw new FaultException(getOActivity().getOwner().constants.qnSubLanguageExecutionFault, msg);
if (__log.isDebugEnabled()) __log.debug(from + ": " + msg); if (e.getCause() instanceof FaultException) throw (FaultException)e.getCause(); throw new FaultException(getOActivity().getOwner().constants.qnSelectionFailure, msg); throw new FaultException(getOActivity().getOwner().constants.qnSelectionFailure, msg, new Throwable("ignoreMissingFromData")); } else if (l.size() > 1) { String msg = __msgs.msgRValueMultipleNodesSelected(expr.toString()); if (__log.isDebugEnabled()) __log.debug(from + ": " + msg); throw new FaultException(getOActivity().getOwner().constants.qnSelectionFailure, msg); __log.debug(from + ": " + msg); throw new FaultException( getOActivity().getOwner().constants.qnSelectionFailure, msg); __log.debug(from + ": " + msg); throw new FaultException( getOActivity().getOwner().constants.qnSelectionFailure, msg); __log.debug(from + ": " + msg); throw new FaultException( getOActivity().getOwner().constants.qnSelectionFailure, msg); __log.error(from + ": " + msg); throw new FaultException( getOActivity().getOwner().constants.qnSelectionFailure, msg);
} else { FaultData fault = null; fault = createFault(_oactivity.getOwner().constants.qnJoinFailure,_oactivity); _self.parent.completed(fault, CompensationHandler.emptySet());
String msg = "Unexpected error evaluating wait condition."; __log.error(msg, ee); _self.parent.completed(createFault(_self.o.getOwner().constants.qnSubLanguageExecutionFault, _self.o), CompensationHandler.emptySet()); return;