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: PathInfoMappingPatternInvalidException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.engine.exceptions;
09:
10: public class PathInfoMappingPatternInvalidException extends
11: EngineException {
12: static final long serialVersionUID = -7798386202044922044L;
13:
14: private String mSpecification = null;
15: private String mInputName = null;
16: private String mInputPattern = null;
17:
18: public PathInfoMappingPatternInvalidException(String specification,
19: String inputName, String inputPattern, Throwable cause) {
20: super ("The matching pattern '" + inputPattern + "' for input '"
21: + inputName + "' in the pathinfo specification '"
22: + specification
23: + "' is not valid a valid regular expression.", cause);
24:
25: mSpecification = specification;
26: mInputName = inputName;
27: mInputPattern = inputPattern;
28: }
29:
30: public String getSpecification() {
31: return mSpecification;
32: }
33:
34: public String getInputName() {
35: return mInputName;
36: }
37:
38: public String getInputPattern() {
39: return mInputPattern;
40: }
41: }
|