OpenDOF Project
DOFException DOFProviderException_Create ( DOFInterfaceException  iException,
uint16  parameterCount,
const DOFValue parameters 
)

Construct a DOFException using an Interface Exception (an Item within an Interface).

Resource Management:
This function allocates resources that must later be freed by calling DOFException_Destroy.
Parameters
iExceptionThe DOFInterfaceException, indicating the item identifier of the exception as defined by its related interface definition. This should not be NULL.
parameterCountThe number of parameters for the exception. This must be less than 256.
parametersThe parameters for the exception. This must not be NULL if parameterCount > 0.
Returns
A new DOFException. If the desired exception cannot be allocated, a DOFException representing a DOFERROR_INSUFFICIENT_RESOURCES exception is returned in its place.
Exceptions
NULLis returned if the parameters do not match the Interface's defined parameter type(s).
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22