}
return theNameStr;
}
- catch (Standard_Failure)
+ catch (Standard_Failure const& anException)
{
- return Standard_Failure::Caught()->GetMessageString();
+ return anException.GetMessageString();
}
}
}
return theNameStr;
}
- catch (Standard_Failure)
+ catch (Standard_Failure const& anException)
{
- return Standard_Failure::Caught()->GetMessageString();
+ return anException.GetMessageString();
}
}