odatacpp-client icon indicating copy to clipboard operation
odatacpp-client copied to clipboard

Exception handle

Open xuubin opened this issue 10 years ago • 1 comments

xuubin avatar Sep 05 '14 02:09 xuubin

What precisely do you mean by this? I have solved a problem with exceptions, parallel execution (via pplx) and more exceptions when you have not picked the results of a query (As you surely know, a second exception when one is already happening results in a call to terminate - bang, you're dead). I did this by putting the queries in a RAII-style which picks the result and drops it when you not explicitely have picked it. Do you mean that? This could be implemented easily. I have put that yet externally, but it could be part of the library, why not?

PBRCW avatar Jan 20 '21 16:01 PBRCW