RTC Forums
November 24, 2024, 04:46:16 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Execute Result with Error Code
Pages: [
1
]
« previous
next »
Print
Author
Topic: Execute Result with Error Code (Read 4694 times)
ISIGest
RTC Expired
Posts: 121
Execute Result with Error Code
«
on:
April 22, 2015, 02:19:54 PM »
Please can you make the Exception raise in Execute method more detailed.
So, I need to show a custom message in my application when TRtcClientModule.Execute method raise an exception, now if wait_Timeout will be raised this exception
raise ERtcExecuteError.Create('Error: Connection problems, response timed out.');, if you add to ERtcExecuteError a custom property like ErrorCode with a different error code for "wait_Timeout", "wait_Quit", etc...I can intercept this exception and have a most detailed situation.
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Execute Result with Error Code
«
Reply #1 on:
April 22, 2015, 04:00:45 PM »
Done and ready for download (RTC SDK v6.53).
"ERtcExecuteError" class now has the "ErrorCode" property, which will contain the Result from the WaitForCompletion method, allowing more detailed error handling when using TRtcClientModule's Execute method.
Best Regards,
Danijel Tkalcec
Logged
ISIGest
RTC Expired
Posts: 121
Re: Execute Result with Error Code
«
Reply #2 on:
April 23, 2015, 10:39:35 AM »
Thanks you so much
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Execute Result with Error Code
«
Reply #3 on:
April 23, 2015, 11:03:09 AM »
You're welcome. It was a good idea and very easy to implement, so
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...