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