Detect exception type
An example showing how to detect exception type using Tizen 2.3.
1234567891011try {throw new CustomException();} catch (e) {if (e instanceof CustomException) {} else if (e instanceof AnotherException) {} else {}}