API Reference > OdDAI Namespace > Classes > UserException Class > UserException::UserException Constructor
UserException::UserException Constructor
Syntax
C++
UserException(daiErrorId minor = sdaiSY_ERR, const char* errorDescription = "Internal error", const char* functionId = "Unknown function name");
Parameters 
Description 
daiErrorId minor = sdaiSY_ERR 
[in] Error identifier.  
const char* errorDescription = "Internal error" 
[in/out] Error description text, can be NULL. If NULL, receives description text of an error code.  
const char* functionId = "Unknown function name" 
[in] Function in which the exception occurred. 

Constructor for the UserException class. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.