diff options
Diffstat (limited to 'subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/psystem/rewriters/RewriterException.java')
-rw-r--r-- | subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/psystem/rewriters/RewriterException.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/psystem/rewriters/RewriterException.java b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/psystem/rewriters/RewriterException.java new file mode 100644 index 00000000..d0fc286b --- /dev/null +++ b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/psystem/rewriters/RewriterException.java | |||
@@ -0,0 +1,31 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2014, Zoltan Ujhelyi, Istvan Rath 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 | package tools.refinery.viatra.runtime.matchers.psystem.rewriters; | ||
10 | |||
11 | import tools.refinery.viatra.runtime.matchers.psystem.queries.QueryInitializationException; | ||
12 | |||
13 | /** | ||
14 | * An exception to wrap various issues during PDisjunction rewriting. | ||
15 | * @author Zoltan Ujhelyi | ||
16 | * | ||
17 | */ | ||
18 | public class RewriterException extends QueryInitializationException { | ||
19 | |||
20 | private static final long serialVersionUID = -4703825954995497932L; | ||
21 | |||
22 | public RewriterException(String message, String[] context, String shortMessage, Object patternDescription, | ||
23 | Throwable cause) { | ||
24 | super(message, context, shortMessage, patternDescription, cause); | ||
25 | } | ||
26 | |||
27 | public RewriterException(String message, String[] context, String shortMessage, Object patternDescription) { | ||
28 | super(message, context, shortMessage, patternDescription); | ||
29 | } | ||
30 | |||
31 | } | ||