summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-30 18:12:46 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-30 18:12:46 +0000
commitec18c0096d91f237a27e9aa88a96857403b2ed40 (patch)
tree4f148b1c8592d4a68f4c7144d2102c45b522d065 /EssentialsGroupManager
parent6b7e913bbcbcb18911ec00290987f7c74163a42b (diff)
downloadEssentials-ec18c0096d91f237a27e9aa88a96857403b2ed40.tar
Essentials-ec18c0096d91f237a27e9aa88a96857403b2ed40.tar.gz
Essentials-ec18c0096d91f237a27e9aa88a96857403b2ed40.tar.lz
Essentials-ec18c0096d91f237a27e9aa88a96857403b2ed40.tar.xz
Essentials-ec18c0096d91f237a27e9aa88a96857403b2ed40.zip
[trunk/GroupManager] Correct error message on failing to load users file.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1291 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
index d68e8efd8..9b9b03d71 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
@@ -558,7 +558,7 @@ public class WorldDataHolder {
Yaml yamlUsers = new Yaml(new SafeConstructor());
Map<String, Object> usersRootDataNode;
if (!groupsFile.exists()) {
- throw new IllegalArgumentException("The file which should contain permissions does not exist!\n" + groupsFile.getPath());
+ throw new IllegalArgumentException("The file which should contain permissions does not exist!\n" + usersFile.getPath());
}
FileInputStream usersInputStream = new FileInputStream(usersFile);
try {
@@ -567,7 +567,7 @@ public class WorldDataHolder {
throw new NullPointerException();
}
} catch (Exception ex) {
- throw new IllegalArgumentException("The following file couldn't pass on Parser.\n" + groupsFile.getPath(), ex);
+ throw new IllegalArgumentException("The following file couldn't pass on Parser.\n" + usersFile.getPath(), ex);
} finally {
usersInputStream.close();
}