Exceptions
Exceptions will be massively used for error or unpleasant states signalization during function or method execution. This should completelly replace C-like return value status codes. Hierarchy of all kind of exceptions can be constructed and modified here and then converted into a code:
- Exception (Basic.h) - Base class for all exceptions.
- EError (Basic.h) - Base class for all error state exceptions.
- ENotImplemented (Basic.h) - Exception thrown when not implemented or pure virtual function/method is executed.
- ENotFound (Basic.h) - Exception thrown when expected item or other object is not found.
- EAlreadyExists (Basic.h) - Exception throw when item or other object should not exist but it does.
- ENotPrimaryOwner (DBus.h) - Exception throw when requested D-Bus name already exists on session bus.
