OpenDOF Project
DOFException DOFConnectionState_GetException ( const DOFConnectionState  self)

Return the DOFException associated with the connection state, if any.

If an exception is returned, it indicates that the connection was closed unexpectedly, and typically describes why (e.g., closed from the other side, by the transport, or because of a communication error). It is possible that multiple exceptions may occur, causing the connection to close. In such cases, only the first exception is saved in the state.

Lifecycle
The data returned is owned by the DOFConnectionState and is only valid as long as the DOFConnectionState remains valid. It must not be destroyed individually.
Parameters
selfThe ConnectionState. This must not be NULL.
Returns
The DOFException, if any.
Return values
NULLis returned if no exception is associated with the state (e.g., the connection is still connected, or was closed normally by the application as a result of calling DOFConnection_Disconnect or DOFConnection_Destroy).
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22