public function node_save(&$node)
    {
        try {
            node_save($node);
        } catch (\Exception $e) {
            throw new NodeException(
                sprintf(NodeException::FailedToSaveNodeText, $node->nid),
                NodeException::FailedToSaveNode,
                $e->getCode(),
                $e
            );
        }
    }