code: public static void setRomanticTransaction(RomanticTransaction romanticTransaction) {
          if (romanticTransaction == null) {
              String msg = "The argument 'romanticTransaction' should not be null.";
              throw new IllegalArgumentException(msg);
          }
          Stack<RomanticTransaction> stack = threadLocal.get();
          if (stack == null) {
              stack = new Stack<RomanticTransaction>();
              threadLocal.set(stack);
          }
          stack.push(romanticTransaction);
      }
docs: Set the value of the romantic transaction.
  @param romanticTransaction The value of the romantic transaction. (NotNull)