Fix clang compiler error: missing <stdexcept> to use std::runtime_error
Fix initialization order of DocumentExporter fields