| 264 | } |
| 265 | |
| 266 | void icinga::DefaultObjectFactoryCheckArgs(const std::vector<Value>& args) |
| 267 | { |
| 268 | if (!args.empty()) |
| 269 | BOOST_THROW_EXCEPTION(std::invalid_argument("Constructor does not take any arguments.")); |
| 270 | } |
| 271 | |
| 272 | void icinga::RequireNotNullInternal(const intrusive_ptr<Object>& object, const char *description) |
| 273 | { |