Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ RequireNotNullInternal
Method
RequireNotNullInternal
lib/base/object.cpp:272–276 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
270
}
271
272
void icinga::RequireNotNullInternal(const intrusive_ptr<Object>& object, const char *description)
273
{
274
if (!object)
275
BOOST_THROW_EXCEPTION(std::invalid_argument(
"Pointer must not be null: "
+ String(description)));
276
}
Callers
nothing calls this directly
Calls
1
String
Class · 0.70
Tested by
no test coverage detected