mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
FS-313
This commit is contained in:
parent
a1de7ac9ff
commit
6c8d1934e7
@ -46,7 +46,7 @@ public class SavedFlags extends FreedomService
|
|||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getSavedFlag(String flag) throws Exception
|
public boolean getSavedFlag(String flag) throws IllegalStateException
|
||||||
{
|
{
|
||||||
Boolean flagValue = null;
|
Boolean flagValue = null;
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ public class SavedFlags extends FreedomService
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new Exception();
|
throw new IllegalStateException("Attempt to get non-existent flag " + flag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user