| 17 | namespace berry { |
| 18 | |
| 19 | CoreException::CoreException(const SmartPointer<IStatus>& status) |
| 20 | : ctkException(status->GetMessage()), status(status) |
| 21 | { |
| 22 | if (status->GetException()) |
| 23 | { |
| 24 | this->setCause(*status->GetException()); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | CoreException::~CoreException() throw() |
| 29 | { |
nothing calls this directly
no test coverage detected