mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2026-06-04 02:36:53 +00:00
FS-313
This commit is contained in:
@@ -46,7 +46,7 @@ public class SavedFlags extends FreedomService
|
||||
return flags;
|
||||
}
|
||||
|
||||
public boolean getSavedFlag(String flag) throws Exception
|
||||
public boolean getSavedFlag(String flag) throws IllegalStateException
|
||||
{
|
||||
Boolean flagValue = null;
|
||||
|
||||
@@ -66,7 +66,7 @@ public class SavedFlags extends FreedomService
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception();
|
||||
throw new IllegalStateException("Attempt to get non-existent flag " + flag);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user