01: /*
02: * RoleAssignmentException.java
03: *
04: * Created on May 12, 2006, 12:20 PM
05: *
06: * To change this template, choose Tools | Template Manager
07: * and open the template in the editor.
08: */
09:
10: package com.sun.portal.community;
11:
12: public class RoleAssignmentException extends CommunityException {
13:
14: /** Creates a new instance of RoleAssignmentException */
15: public RoleAssignmentException(CommunityId id, String userId,
16: RoleId existingRoleId, RoleId newRoleId) {
17: super (id.toString() + ":" + userId.toString()
18: + "Invalid Role Assignment from:" + existingRoleId
19: + " :to: " + newRoleId);
20: }
21:
22: }
|