Open pepone opened 2 weeks ago
I believe the following local exceptions can be thrown by application code:
None. That's because these language mappings don't allow the application to register their own ValueFactoryManager.
AlreadyRegisteredException
from a custom ValueFactoryManager (this ability is not documented for Python in Ice 3.7)Swift's InitializationData doesn't allow you to install a ValueFactoryManager. Python's InitializationData does but it's not used (i.e., it's a bug).
The NotExist exceptions and Unknown exceptions:
All the other exceptions: only the IcePy C++ extension code?
Maybe users who implement a ValueFactoryManager are expected to throw AlreadyRegisteredException as well from their Python code? (seems undesirable - it's better if we can avoid having users throw local exceptions)
_Originally posted by @bernardnormier in https://github.com/zeroc-ice/ice/pull/2417#discussion_r1667030816_