Added support for std::exception in param loader.