Question
While inside try/catch...
I have this method:
private function rewriteQueue():void {
try{
var file:File = File.applicationStorageDirectory.resolvePath( DATA_FILE_NAME );
file.deleteFile();
while (users.length) {
var aUser:Object = users.shift();
writeUser(aUser);
}
}catch (e:Error) {
}
}
That doesn't work and I'm just not sure why. Putting the while outside of the try/catch fixes it... but why?
