Can anyone explain the exception handling in Tizen?
In FAQ i found:
Q: Can I use C++ try-catch exception handling?
A: No, C++ try-catch exception handling is not supported in Tizen.
But in my experiments c++ try catch is working fine when testing on a Tizen Device.
Here is what I did:
Does this mean that i can use try catch for my methods but not for Tizen APIs and Classes?
Does this mean that i can use try catch for my methods but not for Tizen APIs and Classes?
Yes. From the online documentation:
Error handling in Tizen works differently compared to standard C++. Tizen uses error results instead of C++ exceptions, due to historical reasons.
...
The above exception handling model only affects the Tizen platform. When developing your own application, you can use the C++ exception handling mechanism as well. Handle exceptions for your own code with either Tizen exceptions or C++ exceptions.