/** * If the application requires and if the coordination protocol supports it, * then this method can be used to execute a coordination protocol on the * currently enlisted participants at any time prior to the termination of * the coordination scope. * * This implementation only supports coordination at the end of the * activity. * * @param cs The completion status to use when determining how to * execute the protocol. * * @exception WrongStateException * Thrown if the coordinator is in a state the does not allow * coordination to occur. * @exception ProtocolViolationException * Thrown if the protocol is violated in some manner during * execution. * @exception SystemException * Thrown if any other error occurs. * * @return The result of executing the protocol, or null. */ public Outcome coordinate (CompletionStatus cs) throws WrongStateException, ProtocolViolationException, SystemException { throw new ProtocolViolationException(); }
throw new SystemException(ex.toString());
throw new SystemException(ex.toString());
throw new SystemException(ex.toString());
/** * If the application requires and if the coordination protocol supports it, * then this method can be used to execute a coordination protocol on the * currently enlisted participants at any time prior to the termination of * the coordination scope. * * This implementation only supports coordination at the end of the * activity. * * @param cs The completion status to use when determining how to * execute the protocol. * * @exception com.arjuna.mw.wsas.exceptions.WrongStateException * Thrown if the coordinator is in a state the does not allow * coordination to occur. * @exception com.arjuna.mw.wsas.exceptions.ProtocolViolationException * Thrown if the protocol is violated in some manner during * execution. * @exception com.arjuna.mw.wsas.exceptions.SystemException * Thrown if any other error occurs. * * @return The result of executing the protocol, or null. */ public Outcome coordinate (CompletionStatus cs) throws WrongStateException, ProtocolViolationException, SystemException { throw new ProtocolViolationException(); }
throw new SystemException(ex.toString());
/** * If the application requires and if the coordination protocol supports it, * then this method can be used to execute a coordination protocol on the * currently enlisted participants at any time prior to the termination of * the coordination scope. * * This implementation only supports coordination at the end of the * activity. * * @param cs The completion status to use when determining how to * execute the protocol. * * @exception com.arjuna.mw.wsas.exceptions.WrongStateException * Thrown if the coordinator is in a state the does not allow * coordination to occur. * @exception com.arjuna.mw.wsas.exceptions.ProtocolViolationException * Thrown if the protocol is violated in some manner during * execution. * @exception com.arjuna.mw.wsas.exceptions.SystemException * Thrown if any other error occurs. * * @return The result of executing the protocol, or null. */ public Outcome coordinate (CompletionStatus cs) throws WrongStateException, ProtocolViolationException, SystemException { throw new ProtocolViolationException(); }
throw new SystemException(ex.toString());
/** * If the application requires and if the coordination protocol supports it, * then this method can be used to execute a coordination protocol on the * currently enlisted participants at any time prior to the termination of * the coordination scope. * * This implementation only supports coordination at the end of the * activity. * * @param cs The completion status to use when determining how to * execute the protocol. * * @exception WrongStateException * Thrown if the coordinator is in a state the does not allow * coordination to occur. * @exception ProtocolViolationException * Thrown if the protocol is violated in some manner during * execution. * @exception SystemException * Thrown if any other error occurs. * * @return The result of executing the protocol, or null. */ public Outcome coordinate (CompletionStatus cs) throws WrongStateException, ProtocolViolationException, SystemException { throw new ProtocolViolationException(); }
throw new SystemException(ex.toString());
throw new CoordinatorCancelledException(); case TwoPhaseResult.HEURISTIC_MIXED: throw new ProtocolViolationException("HeuristicMixed"); case TwoPhaseResult.FINISH_ERROR: throw new WrongStateException(); case TwoPhaseResult.HEURISTIC_HAZARD: default: throw new ProtocolViolationException("HeuristicHazard"); throw new ProtocolViolationException(wscfLogger.i18NLogger.get_model_sagas_arjunacore_CoordinatorServiceImple_1());
throw new SystemException(ex.toString());
break; case TwoPhaseResult.HEURISTIC_MIXED: throw new ProtocolViolationException("HeuristicMixed"); case TwoPhaseResult.FINISH_ERROR: throw new WrongStateException(); case TwoPhaseResult.HEURISTIC_HAZARD: default: throw new ProtocolViolationException("HeuristicHazard"); throw new ProtocolViolationException(wscfLogger.i18NLogger.get_model_sagas_arjunacore_CoordinatorServiceImple_1());
throw new SystemException(ex.toString());
break; case TwoPhaseResult.HEURISTIC_MIXED: throw new ProtocolViolationException("HeuristicMixed"); case TwoPhaseResult.FINISH_ERROR: throw new WrongStateException(); case TwoPhaseResult.HEURISTIC_HAZARD: default: throw new ProtocolViolationException("HeuristicHazard"); throw new ProtocolViolationException(wscfLogger.i18NLogger.get_model_sagas_arjunacore_CoordinatorServiceImple_1());
throw new SystemException(ex.toString());
throw new CoordinatorCancelledException(); case TwoPhaseResult.HEURISTIC_MIXED: throw new ProtocolViolationException("HeuristicMixed"); case TwoPhaseResult.FINISH_ERROR: throw new WrongStateException(); case TwoPhaseResult.HEURISTIC_HAZARD: default: throw new ProtocolViolationException("HeuristicHazard"); throw new ProtocolViolationException(wscfLogger.i18NLogger.get_model_sagas_arjunacore_CoordinatorServiceImple_1());
throw new SystemException(ex.toString());
throw new SystemException(ex.toString());
throw new SystemException(ex.toString());