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