changed property key, and updated eclipse config.
@@ -55,7 +55,7 @@ | ||
55 | 55 | |
56 | 56 | UserManager userManager = getUserManager(); |
57 | 57 | if (userManager.userExists(userInfo.getUserId())) { |
58 | - throw new PortalException("errors.user_already_exists", "User(" | |
58 | + throw new PortalException("errors.user_already_exists_on_portal", "User(" | |
59 | 59 | + userInfo.getUserId() + ") already exists."); |
60 | 60 | } |
61 | 61 |
@@ -147,7 +147,7 @@ | ||
147 | 147 | |
148 | 148 | UserManager userManager = getUserManager(); |
149 | 149 | if (!userManager.userExists(userInfo.getUserId())) { |
150 | - throw new PortalException("errors.user_does_not_exist", "User(" | |
150 | + throw new PortalException("errors.user_does_not_exist_on_portal", "User(" | |
151 | 151 | + userInfo.getUserId() + ") does not exist."); |
152 | 152 | } |
153 | 153 |
@@ -208,7 +208,7 @@ | ||
208 | 208 | |
209 | 209 | UserManager userManager = getUserManager(); |
210 | 210 | if (!userManager.userExists(userInfo.getUserId())) { |
211 | - throw new PortalException("errors.user_does_not_exist", "User(" | |
211 | + throw new PortalException("errors.user_does_not_exist_on_portal", "User(" | |
212 | 212 | + userInfo.getUserId() + ") does not exist."); |
213 | 213 | } |
214 | 214 |
@@ -277,7 +277,7 @@ | ||
277 | 277 | RoleManager roleManager = getRoleManager(); |
278 | 278 | try { |
279 | 279 | if (roleManager.roleExists(roleInfo.getRoleId())) { |
280 | - throw new PortalException("errors.role_already_exists", "Role(" | |
280 | + throw new PortalException("errors.role_already_exists_on_portal", "Role(" | |
281 | 281 | + roleInfo.getRoleId() + ") already exists."); |
282 | 282 | } |
283 | 283 | roleManager.addRole(roleInfo.getRoleId()); |
@@ -299,7 +299,7 @@ | ||
299 | 299 | RoleManager roleManager = getRoleManager(); |
300 | 300 | try { |
301 | 301 | if (!roleManager.roleExists(roleInfo.getRoleId())) { |
302 | - throw new PortalException("errors.role_does_not_exist", "Role(" | |
302 | + throw new PortalException("errors.role_does_not_exist_on_portal", "Role(" | |
303 | 303 | + roleInfo.getRoleId() + ") does not exist."); |
304 | 304 | } |
305 | 305 | roleManager.removeRole(roleInfo.getRoleId()); |
@@ -337,7 +337,7 @@ | ||
337 | 337 | GroupManager groupManager = getGroupManager(); |
338 | 338 | try { |
339 | 339 | if (groupManager.groupExists(groupInfo.getGroupId())) { |
340 | - throw new PortalException("errors.group_already_exists", | |
340 | + throw new PortalException("errors.group_already_exists_on_portal", | |
341 | 341 | "Group(" + groupInfo.getGroupId() + ") already exists."); |
342 | 342 | } |
343 | 343 | groupManager.addGroup(groupInfo.getGroupId()); |
@@ -359,7 +359,7 @@ | ||
359 | 359 | GroupManager groupManager = getGroupManager(); |
360 | 360 | try { |
361 | 361 | if (!groupManager.groupExists(groupInfo.getGroupId())) { |
362 | - throw new PortalException("errors.group_does_not_exist", | |
362 | + throw new PortalException("errors.group_does_not_exist_on_portal", | |
363 | 363 | "Group(" + groupInfo.getGroupId() + ") does not exist."); |
364 | 364 | } |
365 | 365 | groupManager.removeGroup(groupInfo.getGroupId()); |