code: public final XAException traceXAException(XAException xae, Class<?> callerClass) { 
  
          String detailedMessage = ivManagedConnection.mcf.helper.getXAExceptionContents(xae); 
          Tr.error(tc, "DISPLAY_XAEX_CONTENT", detailedMessage);
  
          Tr.error(tc, "THROW_XAEXCEPTION", new Object[]
          { AdapterUtil.getXAExceptionCodeString(xae.errorCode), xae.getMessage() });
  
          return xae;
      }
docs: Method to translate the XAResource stuff, including the error code.
  
  @param xae
  @param callerClass
  @return