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

◆ throwException()

void Ice::InputStream::throwException ( UserExceptionFactory factory = nullptr)

Reads a user exception from the stream and throws it.

Parameters
factoryThe factory function that creates the exception instance. When null, the exception is created by this stream's Slice loader.
Exceptions
UserExceptionThe user exception that was unmarshaled.