MCPcopy Create free account
hub / github.com/Icinga/icinga2 / DefaultObjectFactoryCheckArgs

Method DefaultObjectFactoryCheckArgs

lib/base/object.cpp:266–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266void 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
272void icinga::RequireNotNullInternal(const intrusive_ptr<Object>& object, const char *description)
273{

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected