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: ElementAnnotationErrorException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.engine.exceptions;
09:
10: public class ElementAnnotationErrorException extends EngineException {
11: private static final long serialVersionUID = 2174216337945033177L;
12:
13: private String mImplementationName = null;
14: private String mSiteDeclarationName = null;
15:
16: public ElementAnnotationErrorException(String implementationName,
17: String siteDeclarationName, String message, Throwable cause) {
18: super (
19: "Error while processing the annotations of element with implementation '"
20: + implementationName + "' in site '"
21: + siteDeclarationName + "' : " + message, cause);
22:
23: mImplementationName = implementationName;
24: mSiteDeclarationName = siteDeclarationName;
25: }
26:
27: public String getImplementationName() {
28: return mImplementationName;
29: }
30:
31: public String getSiteDeclarationName() {
32: return mSiteDeclarationName;
33: }
34: }
|