v0.4.1a: removed exception tracking from read operations
This commit is contained in:
parent
fcc088d879
commit
4bd5a10897
src/com/shatteredpixel/shatteredpixeldungeon
|
@ -230,8 +230,7 @@ public class Badges {
|
|||
|
||||
global = restore( bundle );
|
||||
|
||||
} catch (Exception e) {
|
||||
ShatteredPixelDungeon.reportException(e);
|
||||
} catch (IOException e) {
|
||||
global = new HashSet<Badge>();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -138,8 +138,7 @@ public class Bones {
|
|||
|
||||
return get();
|
||||
|
||||
} catch (Exception e) {
|
||||
ShatteredPixelDungeon.reportException(e);
|
||||
} catch (IOException e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ package com.shatteredpixel.shatteredpixeldungeon;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
|
||||
import com.watabou.utils.Bundle;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class GamesInProgress {
|
||||
|
@ -44,8 +45,7 @@ public class GamesInProgress {
|
|||
info = new Info();
|
||||
Dungeon.preview( info, bundle );
|
||||
|
||||
} catch (Exception e) {
|
||||
ShatteredPixelDungeon.reportException(e);
|
||||
} catch (IOException e) {
|
||||
info = null;
|
||||
}
|
||||
|
||||
|
|
|
@ -245,7 +245,6 @@ public enum Rankings {
|
|||
}
|
||||
|
||||
} catch (IOException e) {
|
||||
ShatteredPixelDungeon.reportException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user