Exception class
An exception class is provided in order to support common exception handling. When an ODABA ::Exception is thrown, the exception provides an ODABA error code and its documentation, which might be displayed to the user when the exception is caught.
In some cases, exceptions are thrown, because no result could be provided. In this case the exception error is 0, which indicated usually, that no data is available.
Typically, exceptions are thrown, when calling a function with an invalid handle or a handle, which does not fulfill necessary requirements. In such cases, an error code informs about the access rules violated.
Subtopics
- Exception - Exception handling