1 package com.exsoinn.util.epf;
2
3
4
5
6
7
8
9
10 public class IncompatibleSearchPathException extends Exception {
11 private final SearchPath searchPath;
12 private final String node;
13 private final Context context;
14
15 public IncompatibleSearchPathException(SearchPath pSearchPath, String pNode, Context pCtx) {
16 super("Did not find expected path node '" + pNode
17 + "' in the current part of the element currently being processed/searched. Check that the "
18 + "search path is correct: " + pSearchPath.toString()
19 + ". Element is " + pCtx.stringRepresentation());
20 searchPath = pSearchPath;
21 node = pNode;
22 context = pCtx;
23 }
24
25
26
27
28 public SearchPath getSearchPath() {
29 return searchPath;
30 }
31
32 public String getNode() {
33 return node;
34 }
35
36 public Context getContext() {
37 return context;
38 }
39 }