if (NS_FAILED(result)) {   return result; }
  NS_IMETHOD DoTransaction()  {    //    // Make sure DoTransaction() is called in the order we expect!    // Notice that we don't check to see if we go past the end of the array.    // This is done on purpose since we want to crash if the order array is out    // of date.    //    if (sDoOrderArr && mVal != sDoOrderArr[sDoCount]) {      printf("ERROR: ~SimpleTransaction expected %d got %d.\n",             mVal, sDoOrderArr[sDoCount]);      exit(NS_ERROR_FAILURE);    }    ++sDoCount;#ifdef ENABLE_DEBUG_PRINTFS    printf("\nSimpleTransaction.DoTransaction: %d - 0x%.8x\n", mVal, (PRInt32)this);#endif // ENABLE_DEBUG_PRINTFS    return (mFlags & THROWS_DO_ERROR_FLAG) ? NS_ERROR_FAILURE : NS_OK;  }