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