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