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

◆ newExceptionInstance()

std::exception_ptr Ice::CompositeSliceLoader::newExceptionInstance ( std::string_view typeId) const
nodiscardfinalvirtual

Creates an instance of a class mapped from a Slice exception based on a Slice type ID.

Parameters
typeIdThe Slice type ID.
Returns
A new instance of the exception class identified by typeId, or nullptr if the implementation cannot find the corresponding class.
Exceptions
MarshalExceptionThrown when the corresponding class was found but its instantiation failed.

Reimplemented from Ice::SliceLoader.