API Reference > OdDAI Namespace > Classes > daiErrorHandlerManager Class
daiErrorHandlerManager Class
OdDAI__daiErrorHandlerManager
Syntax
C++
class daiErrorHandlerManager;

daiErrorHandlerManager.h

This class represents an error handler manager that can be manipulated with the Data Access Interface (DAI). Usage of the class:

try { } catch(const someYourException& ) { // here you should place code to catch your own exceptions or maybe a standard exception. } catch(...) { daiErrorHandlerManager::catchFunction(); } // Insert this part of code to places where you want use a standard exceptions handling.
Adds an error handler to the collection of error handlers.
 
A catch function for an exception. See the class description for more information. 
Queries the last error from the error stack. This error is popped from the error stack after it's queried. 
log 
Logs a given error.
 
Removes an error handler from the collection of error handlers.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.