How to catch Esri_runtimecore::Common::Exception

1359
2
06-10-2014 06:43 AM
Andréde_Mattos_Ferraz
Occasional Contributor
Hi everyone,

Sometimes my application throws Esri_runtimecore::Common::Exception. I tried to put a try/catch block but the exception never enter. Have anyway to catch this exception?

thx in advance
0 Kudos
2 Replies
JamesRichards1
Occasional Contributor
Are you running in the simulator? I've noticed that some methods in the SDK which include an NSError** parameter will crash at the core runtime level when running in the simulator but will properly fill out the error when running on a device.
0 Kudos
Andréde_Mattos_Ferraz
Occasional Contributor
Are you running in the simulator? I've noticed that some methods in the SDK which include an NSError** parameter will crash at the core runtime level when running in the simulator but will properly fill out the error when running on a device.


I'm running on simulator! I will test in DEVICE and if I have some trouble, I will report.

Thx!
0 Kudos