| 232 | } |
| 233 | |
| 234 | void registerTrigger(ThrowStatusWrapper* status, const char* name, |
| 235 | IUdrTriggerFactory* factory) |
| 236 | { |
| 237 | if (triggersMap.exist(name)) |
| 238 | { |
| 239 | static const ISC_STATUS statusVector[] = { |
| 240 | isc_arg_gds, isc_random, |
| 241 | isc_arg_string, (ISC_STATUS) "Duplicate UDR trigger", |
| 242 | //// TODO: isc_arg_gds, isc_random, isc_arg_string, (ISC_STATUS) name, |
| 243 | isc_arg_end |
| 244 | }; |
| 245 | |
| 246 | throw FbException(status, statusVector); |
| 247 | } |
| 248 | |
| 249 | triggersMap.put(name, factory); |
| 250 | } |
| 251 | |
| 252 | private: |
| 253 | PathName moduleName; |
nothing calls this directly
no test coverage detected