public static org.omg.CosTransactions.HeuristicRollback read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.HeuristicRollback value = new org.omg.CosTransactions.HeuristicRollback (); // read and discard the repository ID istream.read_string (); return value; }
public static org.omg.CosTransactions.HeuristicRollback read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.HeuristicRollback value = new org.omg.CosTransactions.HeuristicRollback (); // read and discard the repository ID istream.read_string (); return value; }
public static org.omg.CosTransactions.HeuristicRollback 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.HeuristicRollback result = new org.omg.CosTransactions.HeuristicRollback(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicRollback s)
public static org.omg.CosTransactions.HeuristicRollback read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.HeuristicRollback result = new org.omg.CosTransactions.HeuristicRollback(); 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.HeuristicRollback s)
public static org.omg.CosTransactions.HeuristicRollback 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.HeuristicRollback result = new org.omg.CosTransactions.HeuristicRollback(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicRollback s)
_logger.log(Level.FINE, "An XAException occurred in twopc commit", e); if (e.errorCode == XAException.XA_HEURRB) throw new HeuristicRollback(ex.getMessage()); if (e.errorCode == XAException.XA_HEURHAZ) throw new HeuristicHazard(ex.getMessage()); if (e.errorCode >= XAException.XA_RBBASE && e.errorCode <= XAException.XA_RBEND) { throw new HeuristicRollback(ex.getMessage());
if( aborted ) { heuristicDamage = true; HeuristicRollback exc = new HeuristicRollback(); throw exc; } else if( heuristicDamage ) {
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicRollback(); case ActionStatus.H_MIXED: if (TxControl.getMaintainHeuristics())
throw new org.omg.CosTransactions.HeuristicMixed(); case TwoPhaseOutcome.HEURISTIC_ROLLBACK: throw new org.omg.CosTransactions.HeuristicRollback(); default: break; updateState(TwoPhaseOutcome.HEURISTIC_ROLLBACK); throw new org.omg.CosTransactions.HeuristicRollback(); case XAException.XA_HEURMIX: updateState(TwoPhaseOutcome.HEURISTIC_MIXED);
throw new org.omg.CosTransactions.HeuristicMixed(); case TwoPhaseOutcome.HEURISTIC_ROLLBACK: throw new org.omg.CosTransactions.HeuristicRollback(); default: break; updateState(TwoPhaseOutcome.HEURISTIC_ROLLBACK); throw new org.omg.CosTransactions.HeuristicRollback(); case XAException.XA_HEURMIX: updateState(TwoPhaseOutcome.HEURISTIC_MIXED);
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicRollback(); case ActionStatus.H_MIXED: if (TxControl.getMaintainHeuristics())