Homec4science

Adds UnavailableInterfaceError

Description

Adds UnavailableInterfaceError

In order to report than a perticular function is not implemented (or
is not available at runtime for whatever reason), A new runtime_error
has been introduced to report this. It has an interface to give back
the class/function name, the reason and and a nice user notive.

Now NotImplementedError is deriving from this new class (this is a
perticular case when a method is not implemented). Constructor should
provide the component name, to report in which component it is not
implemented.

amarsi_refs #482

Details

Committed
Alexandre Tuleu <alexandre.tuleu.2005@polytechnique.org>Jan 21 2013, 15:28
Pushed
tuleuMay 7 2018, 15:22
Parents
R6622:53b068a9a041: Refactors generation of objects
Branches
Unknown
Tags
Unknown

Event Timeline

Alexandre Tuleu <alexandre.tuleu.2005@polytechnique.org> committed R6622:9be7c560ab71: Adds UnavailableInterfaceError (authored by Alexandre Tuleu <alexandre.tuleu.2005@polytechnique.org>).Jan 21 2013, 15:28