| 41 | } |
| 42 | |
| 43 | ISC_STATUS StatusHolder::save(IStatus* status) |
| 44 | { |
| 45 | fb_assert(isSuccess() || m_raised); |
| 46 | if (m_raised) |
| 47 | { |
| 48 | clear(); |
| 49 | } |
| 50 | |
| 51 | setErrors(status->getErrors()); |
| 52 | setWarnings(status->getWarnings()); |
| 53 | return getErrors()[1]; |
| 54 | } |
| 55 | |
| 56 | void StatusHolder::clear() |
| 57 | { |
no test coverage detected