01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com> and
03: * JR Boyens <gnu-jrb[remove] at gmx dot net>
04: * Distributed under the terms of either:
05: * - the common development and distribution license (CDDL), v1.0; or
06: * - the GNU Lesser General Public License, v2.1 or later
07: * $Id: NotRoleUsersManagedException.java 3634 2007-01-08 21:42:24Z gbevin $
08: */
09: package com.uwyn.rife.authentication.credentialsmanagers.exceptions;
10:
11: import com.uwyn.rife.engine.exceptions.EngineException;
12:
13: public class NotRoleUsersManagedException extends EngineException {
14: private static final long serialVersionUID = -4637783446076743042L;
15:
16: private String mElementId = null;
17:
18: public NotRoleUsersManagedException(String elementId) {
19: super ("The credentials of the element '" + elementId
20: + "' are not managed by a RoleUsersManager");
21:
22: mElementId = elementId;
23: }
24:
25: public String getElementId() {
26: return mElementId;
27: }
28: }
|