| 55 | } |
| 56 | |
| 57 | QDebug CoreException::PrintChildren(IStatus *status, QDebug dbg) const |
| 58 | { |
| 59 | QList<IStatus::Pointer> children = status->GetChildren(); |
| 60 | for (int i = 0; i < children.size(); ++i) |
| 61 | { |
| 62 | dbg << "Contains: " << qPrintable(children[i]->GetMessage()) << '\n'; |
| 63 | const ctkException* exc = children[i]->GetException(); |
| 64 | if (exc != nullptr) |
| 65 | { |
| 66 | dbg << exc->printStackTrace(); |
| 67 | } |
| 68 | PrintChildren(children[i].GetPointer(), dbg); |
| 69 | } |
| 70 | return dbg; |
| 71 | } |
| 72 | |
| 73 | } |
nothing calls this directly
no test coverage detected