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: FlowLinkMissingException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.engine.exceptions;
09:
10: public class FlowLinkMissingException extends EngineException {
11: private static final long serialVersionUID = 7537520664896017723L;
12:
13: private String mSourceDeclarationName = null;
14: private String mTargetDeclarationName = null;
15:
16: public FlowLinkMissingException(String sourceDeclarationName,
17: String targetDeclarationName) {
18: super ("Impossible to create a data link from element '"
19: + sourceDeclarationName + "' to element '"
20: + targetDeclarationName
21: + "' since no flow link is available.");
22:
23: mSourceDeclarationName = sourceDeclarationName;
24: mTargetDeclarationName = targetDeclarationName;
25: }
26:
27: public String getSourceDeclarationName() {
28: return mSourceDeclarationName;
29: }
30:
31: public String getTargetDeclarationName() {
32: return mTargetDeclarationName;
33: }
34: }
|