public static org.omg.CosTransactions.HeuristicHazard read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.HeuristicHazard value = new org.omg.CosTransactions.HeuristicHazard (); // read and discard the repository ID istream.read_string (); return value; }
throw new HeuristicCommit(ex.getMessage()); if (e.errorCode == XAException.XA_HEURHAZ) throw new HeuristicHazard(ex.getMessage()); if (e.errorCode == XAException.XA_HEURMIX) throw new HeuristicMixed(ex.getMessage()); HeuristicHazard hh = new HeuristicHazard(ex.getMessage()); hh.initCause(ex); throw hh;
public static org.omg.CosTransactions.HeuristicHazard read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.HeuristicHazard value = new org.omg.CosTransactions.HeuristicHazard (); // read and discard the repository ID istream.read_string (); return value; }
throw new HeuristicRollback(ex.getMessage()); if (e.errorCode == XAException.XA_HEURHAZ) throw new HeuristicHazard(ex.getMessage()); if (e.errorCode == XAException.XA_HEURMIX) throw new HeuristicMixed(ex.getMessage()); HeuristicHazard hh = new HeuristicHazard(ex.getMessage()); hh.initCause(ex); throw hh;
public static org.omg.CosTransactions.HeuristicHazard 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.HeuristicHazard result = new org.omg.CosTransactions.HeuristicHazard(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicHazard s)
public static org.omg.CosTransactions.HeuristicHazard read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.HeuristicHazard result = new org.omg.CosTransactions.HeuristicHazard(); 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.HeuristicHazard s)
public static org.omg.CosTransactions.HeuristicHazard 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.HeuristicHazard result = new org.omg.CosTransactions.HeuristicHazard(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.HeuristicHazard s)
_logger.log(Level.FINE, "An XAException occurred in c_o_p", e); if (e.errorCode == XAException.XA_HEURRB) throw new HeuristicHazard(ex.getMessage()); if (e.errorCode == XAException.XA_HEURHAZ) throw new HeuristicHazard(ex.getMessage()); HeuristicHazard hazex = new HeuristicHazard(); ((Throwable)hazex).initCause((Throwable)ex); throw hazex;
throw exc; } else if (heuristicHazard) { HeuristicHazard exc = new HeuristicHazard(); throw exc;
throw new org.omg.CosTransactions.HeuristicHazard(); default: break; updateState(TwoPhaseOutcome.HEURISTIC_HAZARD); throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XA_HEURCOM: try { throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XAER_PROTO: case XAException.XA_RETRY: // not allowed to be thrown here by XA specification! throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XAER_RMFAIL: // This was modified as part of JBTM-XYZ - although RMFAIL is not clear there is a rollback/commit we are flagging this to the user throw new org.omg.CosTransactions.HeuristicHazard(); default: _committed = true; // will cause log to be rewritten
throw new org.omg.CosTransactions.HeuristicHazard(); case TwoPhaseOutcome.HEURISTIC_MIXED: throw new org.omg.CosTransactions.HeuristicMixed(); updateState(TwoPhaseOutcome.HEURISTIC_HAZARD); throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XA_HEURCOM: // what about forget? OTS doesn't support this code here. destroyState(); throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XAER_PROTO: case XAException.XAER_INVAL: // resource manager failed, did it rollback? default: throw new org.omg.CosTransactions.HeuristicHazard();
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard(); default: destroyResource();
return Vote.VoteRollback; default: throw new HeuristicHazard(); // we're not really sure (shouldn't get here though).
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard();
throw new org.omg.CosTransactions.HeuristicHazard(); case TwoPhaseOutcome.HEURISTIC_MIXED: throw new org.omg.CosTransactions.HeuristicMixed(); updateState(TwoPhaseOutcome.HEURISTIC_HAZARD); throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XA_HEURCOM: // what about forget? OTS doesn't support this code here. destroyState(); throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XAER_PROTO: throw new org.omg.CosTransactions.HeuristicHazard(); default: throw new org.omg.CosTransactions.HeuristicHazard();
throw new org.omg.CosTransactions.HeuristicHazard(); case TwoPhaseOutcome.HEURISTIC_MIXED: throw new org.omg.CosTransactions.HeuristicMixed(); updateState(TwoPhaseOutcome.HEURISTIC_HAZARD); throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XA_HEURCOM: updateState(TwoPhaseOutcome.HEURISTIC_COMMIT); throw new org.omg.CosTransactions.HeuristicHazard(); else throw new UNKNOWN();
throw new org.omg.CosTransactions.HeuristicHazard(); default: break; updateState(TwoPhaseOutcome.HEURISTIC_HAZARD); throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XA_HEURCOM: handleForget() ; throw new org.omg.CosTransactions.HeuristicHazard(); case XAException.XAER_PROTO: case XAException.XA_RETRY: // not allowed to be thrown here by XA specification! case XAException.XAER_RMFAIL: // resource manager failed, throw new org.omg.CosTransactions.HeuristicHazard(); default: _committed = true; // will cause log to be rewritten
if (TxControl.getMaintainHeuristics()) destroyResource(); throw new HeuristicHazard(); default: destroyResource();
default: if (report_heuristics) throw new HeuristicHazard(); break;
vote = coord.prepare(); } catch( HeuristicMixed exc ) { throw new HeuristicHazard();