diff options
Diffstat (limited to 'subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/construction/RetePatternBuildException.java')
-rw-r--r-- | subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/construction/RetePatternBuildException.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/construction/RetePatternBuildException.java b/subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/construction/RetePatternBuildException.java new file mode 100644 index 00000000..bd1b219e --- /dev/null +++ b/subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/construction/RetePatternBuildException.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2004-2009 Gabor Bergmann and Daniel Varro | ||
3 | * This program and the accompanying materials are made available under the | ||
4 | * terms of the Eclipse Public License v. 2.0 which is available at | ||
5 | * http://www.eclipse.org/legal/epl-v20.html. | ||
6 | * | ||
7 | * SPDX-License-Identifier: EPL-2.0 | ||
8 | *******************************************************************************/ | ||
9 | |||
10 | package tools.refinery.viatra.runtime.rete.construction; | ||
11 | |||
12 | import tools.refinery.viatra.runtime.matchers.planning.QueryProcessingException; | ||
13 | |||
14 | /** | ||
15 | * A problem has occurred during the construction of the RETE net. | ||
16 | * | ||
17 | * @author Gabor Bergmann | ||
18 | * | ||
19 | */ | ||
20 | public class RetePatternBuildException extends QueryProcessingException { | ||
21 | |||
22 | private static final long serialVersionUID = 6966585498204577548L; | ||
23 | |||
24 | /** | ||
25 | * @param message | ||
26 | * The template of the exception message | ||
27 | * @param context | ||
28 | * The data elements to be used to instantiate the template. Can be null if no context parameter is | ||
29 | * defined | ||
30 | * @param patternDescription | ||
31 | * the PatternDescription where the exception occurred | ||
32 | */ | ||
33 | public RetePatternBuildException(String message, String[] context, String shortMessage, Object patternDescription) { | ||
34 | super(message, context, shortMessage, patternDescription); | ||
35 | } | ||
36 | |||
37 | /** | ||
38 | * @param message | ||
39 | * The template of the exception message | ||
40 | * @param context | ||
41 | * The data elements to be used to instantiate the template. Can be null if no context parameter is | ||
42 | * defined | ||
43 | * @param patternDescription | ||
44 | * the PatternDescription where the exception occurred | ||
45 | */ | ||
46 | public RetePatternBuildException(String message, String[] context, String shortMessage, Object patternDescription, | ||
47 | Throwable cause) { | ||
48 | super(message, context, shortMessage, patternDescription, cause); | ||
49 | } | ||
50 | } | ||