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: TransformerErrorException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.template.exceptions;
09:
10: import java.net.URL;
11:
12: public class TransformerErrorException extends ProcessingException {
13: private static final long serialVersionUID = -7256768610167542980L;
14:
15: private URL mResource = null;
16:
17: public TransformerErrorException(URL resource, Throwable cause) {
18: super ("Error while transforming resource '" + resource + "'.",
19: cause);
20: mResource = resource;
21: }
22:
23: public URL getResource() {
24: return mResource;
25: }
26: }
|