Ice 3.8
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 using helper functions generated by the Slice compiler.
Exceptions
UserExceptionThe user exception that was unmarshaled.