mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Prevent completely suppressing MalformedURLException
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package forge.achievement;
|
package forge.achievement;
|
||||||
|
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.net.MalformedURLException;
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@@ -130,9 +129,6 @@ public abstract class AchievementCollection implements Iterable<Achievement> {
|
|||||||
catch (FileNotFoundException e) {
|
catch (FileNotFoundException e) {
|
||||||
//ok if file not found
|
//ok if file not found
|
||||||
}
|
}
|
||||||
catch (MalformedURLException e) {
|
|
||||||
//ok if file not found
|
|
||||||
}
|
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,9 +52,6 @@ public class CardPreferences {
|
|||||||
catch (FileNotFoundException e) {
|
catch (FileNotFoundException e) {
|
||||||
//ok if file not found
|
//ok if file not found
|
||||||
}
|
}
|
||||||
catch (MalformedURLException e) {
|
|
||||||
//ok if file not found
|
|
||||||
}
|
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,9 +114,6 @@ public class DeckPreferences {
|
|||||||
catch (FileNotFoundException e) {
|
catch (FileNotFoundException e) {
|
||||||
//ok if file not found
|
//ok if file not found
|
||||||
}
|
}
|
||||||
catch (MalformedURLException e) {
|
|
||||||
//ok if file not found
|
|
||||||
}
|
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -284,9 +284,6 @@ public enum ItemManagerConfig {
|
|||||||
catch (FileNotFoundException e) {
|
catch (FileNotFoundException e) {
|
||||||
//ok if file not found
|
//ok if file not found
|
||||||
}
|
}
|
||||||
catch (MalformedURLException e) {
|
|
||||||
//ok if file not found
|
|
||||||
}
|
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user