Possible Duplicate:
catch exception by pointer in C++
I always catch exceptions by value. e.g
try{
...
}
catch(CustomException e){
...
}
But I came across some code that instead had catch(CustomException &e)
instead. Is this a)fine b)wrong c)a grey area?