v0.2.3: changed how some of the code deals with exception. More visible errors, but better error reporting. These methods should never fail for any reason other than an IOException anyway, so the intent here is that if they do fail for another reason, it is worth one user's game session so that I can get a bug report.
This commit is contained in:
@@ -110,7 +110,7 @@ public enum Rankings {
|
||||
OutputStream output = Game.instance.openFileOutput( RANKINGS_FILE, Game.MODE_PRIVATE );
|
||||
Bundle.write( bundle, output );
|
||||
output.close();
|
||||
} catch (Exception e) {
|
||||
} catch (IOException e) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ public enum Rankings {
|
||||
totalNumber = records.size();
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
} catch (IOException e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user