Ice.Exception

class Ice.Exception

Bases: Exception

The base class for all Ice exceptions.

ice_id()

Return the type ID of this exception.

For exceptions defined in Slice, this corresponds to the Slice type ID. For other exceptions, it is a fully scoped name in the same format. For example: “::Ice::CommunicatorDestroyedException”.

Returns:

The type ID of the exception.

Return type:

str