//---------------------------------------------------------------------------- const char* ctkRuntimeException::what() const throw() { static std::string fullMsg; fullMsg = std::string(std::runtime_error::what()); QString causeMsg = getCause(); if (!causeMsg.isEmpty()) fullMsg += std::string("\n Caused by: ") + causeMsg.toStdString(); return fullMsg.c_str(); }
string MemoriaCompartidaException::what() const { return "Memoria Compartida: "+ getMensaje() + ": " + getCause(); }