docs: public String getXAExceptionContents(XAException x) {
          StringBuilder xsb = new StringBuilder(200);
          Throwable cause = x.getCause();
          if (cause != null) {
              String EOLN = AdapterUtil.EOLN;
              xsb.append(EOLN).append("Caused by ").append(cause.getClass().getName()).append(": ").append(cause.getMessage()).append(EOLN);
              if (cause instanceof SQLException) {
                  SQLException sqlX = (SQLException) cause;
                  xsb.append("The error code is: ").append(sqlX.getErrorCode()).append(EOLN);
                  xsb.append("The SQL State is: ").append(sqlX.getSQLState()).append(EOLN);
              }
          }
          return (xsb.toString());
      }