gpt4 book ai didi

com.arjuna.ats.jta.utils.XAHelper.printXAErrorCode()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-27 10:39:05 29 4
gpt4 key购买 nike

本文整理了Java中com.arjuna.ats.jta.utils.XAHelper.printXAErrorCode()方法的一些代码示例,展示了XAHelper.printXAErrorCode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XAHelper.printXAErrorCode()方法的具体详情如下:
包路径:com.arjuna.ats.jta.utils.XAHelper
类名称:XAHelper
方法名:printXAErrorCode

XAHelper.printXAErrorCode介绍

[英]Print a human-readable version of the XAException.
[中]打印XAException的可读版本。

代码示例

代码示例来源:origin: org.jboss.narayana.jta/jta

jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "<  >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
  for (Xid xid : trans) {
    byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

public boolean delistResource (XAResource xaRes, int flags)
    throws IllegalStateException, javax.transaction.SystemException
  if (jtaxLogger.logger.isTraceEnabled()) {
    jtaxLogger.logger.trace("TransactionImple.delistResource ( "
        + xaRes + ", " + flags + " )");
    jtaxLogger.i18NLogger.warn_jtax_transaction_jts_xaerror("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);

代码示例来源:origin: jbosstm/narayana

if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "<  >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());

代码示例来源:origin: org.jboss.narayana.jta/jta

public boolean delistResource(XAResource xaRes, int flags)
    throws IllegalStateException, javax.transaction.SystemException
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
    jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);

代码示例来源:origin: jbosstm/narayana

+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
  for (Xid xid : trans) {
    byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: org.jboss.narayana.jta/jta

if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "<  >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

public boolean delistResource(XAResource xaRes, int flags)
    throws IllegalStateException, javax.transaction.SystemException
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
    jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);

代码示例来源:origin: jbosstm/narayana

+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
  for (Xid xid : trans) {
    byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: jbosstm/narayana

jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "<  >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());

代码示例来源:origin: jbosstm/narayana

public boolean delistResource(XAResource xaRes, int flags)
    throws IllegalStateException, javax.transaction.SystemException
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
    jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);

代码示例来源:origin: org.jboss.narayana.jta/jta

+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
  for (Xid xid : trans) {
    byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: jbosstm/narayana

if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "<  >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
  jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());

代码示例来源:origin: jbosstm/narayana

public boolean delistResource(XAResource xaRes, int flags)
    throws IllegalStateException, javax.transaction.SystemException
  if (jtaLogger.logger.isTraceEnabled()) {
    jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
    jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);

代码示例来源:origin: jbosstm/narayana

jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
    xaResource.toString(), XAHelper.printXAErrorCode(e), e);

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

public org.omg.CosTransactions.Vote prepare() throws HeuristicMixed,
    HeuristicHazard, org.omg.CORBA.SystemException
  if (jtaxLogger.logger.isTraceEnabled()) {
    jtaxLogger.logger.trace("XAResourceRecord.prepare for " + _tranID);
        XAHelper.xidToString(_tranID), XAHelper.printXAErrorCode(e1), e1);
    if (jtaxLogger.logger.isTraceEnabled()) {
      jtaxLogger.logger.tracef(
        "XAResourceRecord.prepare exception %s resource_trace: txn uid=%s " +
        "resource uid=%s\n",
        XAHelper.printXAErrorCode(e1), _tranID, get_uid());
        XAHelper.xidToString(_tranID), "-", e2);

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com