01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: GlobalBeanGroupRequiresValidatedConstrainedException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.engine.exceptions;
09:
10: public class GlobalBeanGroupRequiresValidatedConstrainedException
11: extends EngineException {
12: private static final long serialVersionUID = 2324238714973217988L;
13:
14: private String mSiteDeclarationName = null;
15: private String mClassName = null;
16: private String mGroupName = null;
17:
18: public GlobalBeanGroupRequiresValidatedConstrainedException(
19: String siteDeclarationName, String className,
20: String groupName) {
21: super ("The site '" + siteDeclarationName
22: + "' declared the global bean with the group '"
23: + groupName + "', however its class '" + className
24: + "' doesn't implement ValidatedConstrained.");
25:
26: mSiteDeclarationName = siteDeclarationName;
27: mClassName = className;
28: mGroupName = groupName;
29: }
30:
31: public String getSiteDeclarationName() {
32: return mSiteDeclarationName;
33: }
34:
35: public String getClassName() {
36: return mClassName;
37: }
38:
39: public String getGroupName() {
40: return mGroupName;
41: }
42: }
|