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