public static org.omg.CosTransactions.NotPrepared read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.NotPrepared value = new org.omg.CosTransactions.NotPrepared (); // read and discard the repository ID istream.read_string (); return value; }
public synchronized void commit() throws NotPrepared,HeuristicRollback,HeuristicMixed,HeuristicHazard{ if( state == PREPARED ) { state = COMMITED; run(); } else { throw new NotPrepared(); } }; public synchronized void commit_one_phase() throws HeuristicHazard {
public static org.omg.CosTransactions.NotPrepared read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.NotPrepared value = new org.omg.CosTransactions.NotPrepared (); // read and discard the repository ID istream.read_string (); return value; }
public static org.omg.CosTransactions.NotPrepared read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.NotPrepared result = new org.omg.CosTransactions.NotPrepared(); 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.NotPrepared s)
public static org.omg.CosTransactions.NotPrepared 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.NotPrepared result = new org.omg.CosTransactions.NotPrepared(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.NotPrepared s)
public static org.omg.CosTransactions.NotPrepared 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.NotPrepared result = new org.omg.CosTransactions.NotPrepared(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.NotPrepared s)
throw new HeuristicMixed(ex.getMessage()); if (e.errorCode == XAException.XA_RBPROTO) throw new NotPrepared(ex.getMessage()); if (e.errorCode == XAException.XA_HEURCOM) {
} catch (Throwable exc) {} throw new NotPrepared();
} catch (Throwable exc) {} throw new NotPrepared();
throw new NotPrepared();
throw new NotPrepared();
throw new NotPrepared();