public void setRollbackOnly(Throwable cause) { if (!isRollbackOnly()) { getLog().trace("setting rollback only, cause:", cause); rollackOnlyCause = cause; } }
protected void doPreCommit() throws XAException { try { fireBeforeCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("PRE COMMIT FAILED: ", e); XAException xae = newXAException("PRE COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }
protected void doPostCommit() throws XAException { try { setCommitted(true); fireAfterCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("POST COMMIT FAILED: ", e); XAException xae = newXAException("POST COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }
public void setRollbackOnly(Throwable cause) { if (!isRollbackOnly()) { getLog().trace("setting rollback only, cause:", cause); rollackOnlyCause = cause; } }
public void setRollbackOnly(Throwable cause) { if (!isRollbackOnly()) { getLog().trace("setting rollback only, cause:", cause); rollackOnlyCause = cause; } }
public void setRollbackOnly(Throwable cause) { if (!isRollbackOnly()) { getLog().trace("setting rollback only, cause:", cause); rollackOnlyCause = cause; } }
protected void doPreCommit() throws XAException { try { fireBeforeCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("PRE COMMIT FAILED: ", e); XAException xae = newXAException("PRE COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }
protected void doPreCommit() throws XAException { try { fireBeforeCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("PRE COMMIT FAILED: ", e); XAException xae = newXAException("PRE COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }
protected void doPreCommit() throws XAException { try { fireBeforeCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("PRE COMMIT FAILED: ", e); XAException xae = newXAException("PRE COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }
protected void doPreCommit() throws XAException { try { fireBeforeCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("PRE COMMIT FAILED: ", e); XAException xae = new XAException("PRE COMMIT FAILED"); xae.errorCode = XAException.XAER_RMERR; xae.initCause(e); throw xae; } }
protected void doPostCommit() throws XAException { try { fireAfterCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("POST COMMIT FAILED: ", e); XAException xae = new XAException("POST COMMIT FAILED"); xae.errorCode = XAException.XAER_RMERR; xae.initCause(e); throw xae; } } }
protected void doPostCommit() throws XAException { try { setCommitted(true); fireAfterCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("POST COMMIT FAILED: ", e); XAException xae = newXAException("POST COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }
protected void doPostCommit() throws XAException { try { setCommitted(true); fireAfterCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("POST COMMIT FAILED: ", e); XAException xae = newXAException("POST COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }
protected void doPostCommit() throws XAException { try { setCommitted(true); fireAfterCommit(); } catch (Throwable e) { // I guess this could happen. Post commit task failed // to execute properly. getLog().warn("POST COMMIT FAILED: ", e); XAException xae = newXAException("POST COMMIT FAILED", XAException.XAER_RMERR); xae.initCause(e); throw xae; } }