| 38 | } |
| 39 | |
| 40 | void sqlite::Error::Raise() const |
| 41 | { |
| 42 | assert(IsError()); |
| 43 | |
| 44 | throw SimpleMessageBoxException( |
| 45 | ExceptionType::Internal, |
| 46 | Verbatim("(%d) %s").Format(GetCode(), GetErrorString()), |
| 47 | XO("SQLite3 error")); |
| 48 | } |
| 49 | |
| 50 | int Error::GetCode() const noexcept |
| 51 | { |