mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-29 12:09:07 +00:00
Fix compat error by continuing the throw from Java's fileReader class
This commit is contained in:
@@ -149,7 +149,7 @@ public class IrisCompat
|
||||
}
|
||||
}
|
||||
|
||||
public static IrisCompat configured(File f)
|
||||
public static IrisCompat configured(File f) throws IOException
|
||||
{
|
||||
IrisCompat def = new IrisCompat();
|
||||
String defa = new JSONObject(new Gson().toJson(def)).toString(4);
|
||||
@@ -174,11 +174,13 @@ public class IrisCompat
|
||||
def.getItemFilters().add(i);
|
||||
}
|
||||
}
|
||||
|
||||
catch(JsonSyntaxException | IOException e)
|
||||
catch(JsonSyntaxException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
catch(IOException e){
|
||||
throw e;
|
||||
}
|
||||
|
||||
return def;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user