public static org.omg.CosTransactions.HeuristicMixed read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.HeuristicMixed value = new org.omg.CosTransactions.HeuristicMixed (); // read and discard the repository ID istream.read_string (); return value; }
public static org.omg.CosTransactions.HeuristicMixed read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.HeuristicMixed value = new org.omg.CosTransactions.HeuristicMixed (); // read and discard the repository ID istream.read_string (); return value; }
public static org.omg.CosTransactions.HeuristicMixed read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.HeuristicMixed result = new org.omg.CosTransactions.HeuristicMixed(); if (!in.read_string().equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id"); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicMixed s)
public static org.omg.CosTransactions.HeuristicMixed read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); final org.omg.CosTransactions.HeuristicMixed result = new org.omg.CosTransactions.HeuristicMixed(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicMixed s)
public static org.omg.CosTransactions.HeuristicMixed read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); final org.omg.CosTransactions.HeuristicMixed result = new org.omg.CosTransactions.HeuristicMixed(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicMixed s)
throw (HeuristicMixed) exc; } else { throw new HeuristicMixed();
throw new HeuristicHazard(ex.getMessage()); if (e.errorCode == XAException.XA_HEURMIX) throw new HeuristicMixed(ex.getMessage()); if (e.errorCode == XAException.XA_RBPROTO) throw new NotPrepared(ex.getMessage());
throw new HeuristicHazard(ex.getMessage()); if (e.errorCode == XAException.XA_HEURMIX) throw new HeuristicMixed(ex.getMessage()); if ((e.errorCode == XAException.XA_RETRY) || (e.errorCode == XAException.XA_RBTRANSIENT) ||
HeuristicMixed exc = new HeuristicMixed(); throw exc; } else if (heuristicHazard) {
HeuristicMixed exc = new HeuristicMixed(); throw exc;
throw exc; } else if( heuristicDamage ) { HeuristicMixed exc = new HeuristicMixed(); throw exc;
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); case ActionStatus.H_HAZARD: if (TxControl.getMaintainHeuristics())
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); // will eventually get forget case TwoPhaseOutcome.HEURISTIC_HAZARD: default:
throw new org.omg.CosTransactions.HeuristicHazard(); case TwoPhaseOutcome.HEURISTIC_MIXED: throw new org.omg.CosTransactions.HeuristicMixed(); case TwoPhaseOutcome.HEURISTIC_ROLLBACK: throw new org.omg.CosTransactions.HeuristicRollback(); updateState(TwoPhaseOutcome.HEURISTIC_MIXED); throw new org.omg.CosTransactions.HeuristicMixed();
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicMixed(); case ActionStatus.H_HAZARD: if (TxControl.getMaintainHeuristics())
case ActionStatus.H_MIXED: if (report_heuristics) throw new HeuristicMixed(); break; case ActionStatus.H_HAZARD:
throw new org.omg.CosTransactions.HeuristicHazard(); case TwoPhaseOutcome.HEURISTIC_MIXED: throw new org.omg.CosTransactions.HeuristicMixed(); default: break; updateState(TwoPhaseOutcome.HEURISTIC_MIXED); throw new org.omg.CosTransactions.HeuristicMixed(); case XAException.XA_HEURRB: // forget? case XAException.XA_RBROLLBACK:
case ActionStatus.H_MIXED: if (report_heuristics) throw new HeuristicMixed(); break; case ActionStatus.H_HAZARD:
throw new org.omg.CosTransactions.HeuristicHazard(); case TwoPhaseOutcome.HEURISTIC_MIXED: throw new org.omg.CosTransactions.HeuristicMixed(); default: break; updateState(TwoPhaseOutcome.HEURISTIC_MIXED); throw new org.omg.CosTransactions.HeuristicMixed(); case XAException.XA_HEURRB: // forget? case XAException.XA_RBROLLBACK:
throw new org.omg.CosTransactions.HeuristicHazard(); case TwoPhaseOutcome.HEURISTIC_MIXED: throw new org.omg.CosTransactions.HeuristicMixed(); case TwoPhaseOutcome.HEURISTIC_ROLLBACK: throw new org.omg.CosTransactions.HeuristicRollback(); updateState(TwoPhaseOutcome.HEURISTIC_MIXED); throw new org.omg.CosTransactions.HeuristicMixed();