OpenDOF Project
DOFException DOFOperation_GetException ( const DOFOperation  op)

Get the exception associated with a completed operation, if any.

This reports the same exception that is normally delivered to the operation's Complete callback, if any. If the operation is not yet complete, this will return NULL.

Note
The exception returned by this call is owned by the DOFOperation and is not valid beyond the lifetime of its DOFOperation. If the exception is needed for longer, use DOFException_Copy to obtain a separate copy of the exception.
Parameters
opThe Operation. Must not be NULL.
Returns
The exception associated with the operation, if any. NULL is returned if there is no exception.
See Also
DOFOperation_IsComplete
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25