Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ checkNotNull()

template<typename Prx, std::enable_if_t< std::is_base_of_v< ObjectPrx, Prx >, bool > = true>
void Ice::checkNotNull ( const std::optional< Prx > & prx,
const char * file,
int line,
const Current & current )

Verifies that a proxy received from the client is not null, and throws a MarshalException if it is.

Parameters
prxThe proxy to check.
fileThe source file name.
lineThe source line number.
currentThe Current object of the incoming request.
Exceptions
MarshalExceptionIf the proxy is null.

Definition at line 24 of file ProxyFunctions.h.