Пример #1
0
// --------------------------------------------------------------------------
void ctkException::setCause(const ctkException& cause)
{
    delete NestedException;
    NestedException = cause.clone();
}
Пример #2
0
// --------------------------------------------------------------------------
ctkException::ctkException(const QString& msg, const ctkException& cause)
    : Msg(msg), NestedException(cause.clone())
{
}