언어 설정

Menu
Sites
Language
Exception Handling in Tizen

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.

Does this mean that i can use try catch for my methods but not for Tizen APIs and Classes?

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 댓글
Bikram Jeet Singh Ballagan
Solved on stackoverflow see http://stackoverflow.com/questions/17104060/exception-handling-on-tizen
RAJENDRA NAIK
Hi, You can use SysTryCatch for the exception handling. This macro allows display of exception log message with a tag, when the condition is false Please refer https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.platform.native.apireference%2Fgroup__GroupMacros.html
Bikram Jeet Singh Ballagan
I've already seen this. Thankx. But these macros can be used for less no. of statements. The context where i'm using try catch is a little big. Macros may mess up the code.
RAJENDRA NAIK
Then what is the approach would you like to follow other than systrycatch. Please let me know your approach.