Project

General

Profile

« Previous | Next » 

Revision c020555e

Added by Leszek Koltunski almost 2 years ago

Do not crash when something's wrong with the JSON file - handle this gracefully, do not change the object then, and report this to Firebase.

View differences:

src/main/java/org/distorted/bandaged/BandagedPlayLibInterface.java
50 50
  public void onObjectCreated(long time) { }
51 51
  public void onReplaceModeDown(int cubit, int face) { }
52 52
  public void onReplaceModeUp() { }
53
  public void reportJSONError(String error, int ordinal) { }
53 54

  
54 55
///////////////////////////////////////////////////////////////////////////////////////////////////
55 56

  

Also available in: Unified diff