code: public static TransactionException transactionReadOnly(TransactionOLTP tx) {
          return create(ErrorMessage.TRANSACTION_READ_ONLY.getMessage(tx.keyspace()));
      }
docs: Thrown when attempting to mutate a read only transaction