Try/Catch not Catching Errors
I had a try/catch block surrounding some code but was still getting a force close so I tried the following test:
try {
var a = new Array(1111222223333444456789);
} catch (err) {
Ti.API.error(err);
}
This code works in a browser (replacing Ti.API.error with alert) but still causes a force close in Titanium mobile under Android.
Any ideas?
1 Answer
-
Would like to know about this as well, try / catch isn't working for me, at all.