Hi Guys,
What is the scope of the exception variables when I catch them by reference.
try{
throw AnExceptionObect("Exception message");
}
catch(AnExceptionObect &exp){
logger << exp.what(); //logger is a dummy object
throw; //what will happend now? is it going to be throwen by value? and what if I catch this object on seperate module/so/dll as reference again?
}
Thanks in advance.
S