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: SubmissionBeanGroupNotFoundException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.engine.exceptions;
09:
10: public class SubmissionBeanGroupNotFoundException extends
11: EngineException {
12: private static final long serialVersionUID = 1960874804223255740L;
13:
14: private String mDeclarationName = null;
15: private String mSubmissionName = null;
16: private String mClassName = null;
17: private String mGroupName = null;
18:
19: public SubmissionBeanGroupNotFoundException(String declarationName,
20: String submissionName, String className, String groupName) {
21: super ("The element '" + declarationName
22: + "' declared a bean in submission '" + submissionName
23: + "' with the class '" + className
24: + "' and the group '" + groupName
25: + "', however the group couldn't be found.");
26:
27: mDeclarationName = declarationName;
28: mSubmissionName = submissionName;
29: mClassName = className;
30: mGroupName = groupName;
31: }
32:
33: public String getDeclarationName() {
34: return mDeclarationName;
35: }
36:
37: public String getSubmissionName() {
38: return mSubmissionName;
39: }
40:
41: public String getClassName() {
42: return mClassName;
43: }
44:
45: public String getGroupName() {
46: return mGroupName;
47: }
48: }
|