diff options
Diffstat (limited to 'subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/ViatraQueryRuntimeException.java')
-rw-r--r-- | subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/ViatraQueryRuntimeException.java | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/ViatraQueryRuntimeException.java b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/ViatraQueryRuntimeException.java new file mode 100644 index 00000000..83f6f766 --- /dev/null +++ b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/ViatraQueryRuntimeException.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2017, Zoltan Ujhelyi, IncQuery Labs Ltd. | ||
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; | ||
10 | |||
11 | /** | ||
12 | * A common base class for all exceptions thrown by various VIATRA Query Runtime APIs. | ||
13 | * | ||
14 | * @author Zoltan Ujhelyi | ||
15 | * @since 2.0 | ||
16 | */ | ||
17 | public abstract class ViatraQueryRuntimeException extends RuntimeException { | ||
18 | |||
19 | private static final long serialVersionUID = -8505253058035069310L; | ||
20 | |||
21 | public ViatraQueryRuntimeException() { | ||
22 | super(); | ||
23 | } | ||
24 | |||
25 | public ViatraQueryRuntimeException(String message) { | ||
26 | super(message); | ||
27 | } | ||
28 | |||
29 | public ViatraQueryRuntimeException(Throwable cause) { | ||
30 | super(cause); | ||
31 | } | ||
32 | |||
33 | public ViatraQueryRuntimeException(String message, Throwable cause) { | ||
34 | super(message, cause); | ||
35 | } | ||
36 | |||
37 | public ViatraQueryRuntimeException(String message, Throwable cause, boolean enableSuppression, | ||
38 | boolean writableStackTrace) { | ||
39 | super(message, cause, enableSuppression, writableStackTrace); | ||
40 | } | ||
41 | |||
42 | } | ||