fix exceptionStr to work for derived classes of std::exception