Creates an instance of a class mapped from a Slice class or exception based on a Slice type ID.
The Slice type ID or compact type ID.
A new instance of the class or exception identified by typeId
, or null
if the implementation
cannot find the corresponding class.
Creates class and exception instances from Slice type IDs.