• R/O
  • SSH
  • HTTPS

pal: Commit


Commit MetaInfo

Revision1745 (tree)
Zeit2009-02-13 23:41:19
Autorshinsuke

Log Message

1.0-PR2

Ändern Zusammenfassung

Diff

--- userinfo/plugins/userinfo-j2-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java (revision 1744)
+++ userinfo/plugins/userinfo-j2-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java (revision 1745)
@@ -55,7 +55,7 @@
5555
5656 UserManager userManager = getUserManager();
5757 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("
5959 + userInfo.getUserId() + ") already exists.");
6060 }
6161
@@ -147,7 +147,7 @@
147147
148148 UserManager userManager = getUserManager();
149149 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("
151151 + userInfo.getUserId() + ") does not exist.");
152152 }
153153
@@ -201,7 +201,7 @@
201201
202202 UserManager userManager = getUserManager();
203203 if (!userManager.userExists(userInfo.getUserId())) {
204- throw new PortalException("errors.user_does_not_exist", "User("
204+ throw new PortalException("errors.user_does_not_exist_on_portal", "User("
205205 + userInfo.getUserId() + ") does not exist.");
206206 }
207207
@@ -270,7 +270,7 @@
270270 RoleManager roleManager = getRoleManager();
271271 try {
272272 if (roleManager.roleExists(roleInfo.getRoleId())) {
273- throw new PortalException("errors.role_already_exists", "Role("
273+ throw new PortalException("errors.role_already_exists_on_portal", "Role("
274274 + roleInfo.getRoleId() + ") already exists.");
275275 }
276276 roleManager.addRole(roleInfo.getRoleId());
@@ -292,7 +292,7 @@
292292 RoleManager roleManager = getRoleManager();
293293 try {
294294 if (!roleManager.roleExists(roleInfo.getRoleId())) {
295- throw new PortalException("errors.role_does_not_exist", "Role("
295+ throw new PortalException("errors.role_does_not_exist_on_portal", "Role("
296296 + roleInfo.getRoleId() + ") does not exist.");
297297 }
298298 roleManager.removeRole(roleInfo.getRoleId());
@@ -330,7 +330,7 @@
330330 GroupManager groupManager = getGroupManager();
331331 try {
332332 if (groupManager.groupExists(groupInfo.getGroupId())) {
333- throw new PortalException("errors.group_already_exists",
333+ throw new PortalException("errors.group_already_exists_on_portal",
334334 "Group(" + groupInfo.getGroupId() + ") already exists.");
335335 }
336336 groupManager.addGroup(groupInfo.getGroupId());
@@ -352,7 +352,7 @@
352352 GroupManager groupManager = getGroupManager();
353353 try {
354354 if (!groupManager.groupExists(groupInfo.getGroupId())) {
355- throw new PortalException("errors.group_does_not_exist",
355+ throw new PortalException("errors.group_does_not_exist_on_portal",
356356 "Group(" + groupInfo.getGroupId() + ") does not exist.");
357357 }
358358 groupManager.removeGroup(groupInfo.getGroupId());
Show on old repository browser