| 38 | } |
| 39 | |
| 40 | void error(ThrowStatusWrapper* status, const char* text) |
| 41 | { |
| 42 | if (! status) |
| 43 | throw text; |
| 44 | |
| 45 | ISC_STATUS_ARRAY v; |
| 46 | v[0] = isc_arg_gds; |
| 47 | v[1] = isc_random; |
| 48 | v[2] = isc_arg_string; |
| 49 | v[3] = (ISC_STATUS) text; |
| 50 | v[4] = isc_arg_end; |
| 51 | |
| 52 | throw FbException(status, v); |
| 53 | } |
| 54 | |
| 55 | void check(ThrowStatusWrapper* status, int err, const char* text) |
| 56 | { |
no test coverage detected