Hello,
I have a problem in catching an exception. I am trying to re throw an exception and I get a message: "There is no source code available for the current location".
The code is very simple:
#include <exception>
using namespace std;
try {
throw exception("asas");
}
catch (const exception& e) {
cout<< "Error msg"<< e.what()<< endl;
throw; //This the error message I get from the IDE.
}
It repetas also if I try to throw a string msg and try to re throe it Thanks