diff options
Diffstat (limited to 'subprojects/viatra-runtime-localsearch/src/main/java/tools/refinery/viatra/runtime/localsearch/exceptions/LocalSearchException.java')
-rw-r--r-- | subprojects/viatra-runtime-localsearch/src/main/java/tools/refinery/viatra/runtime/localsearch/exceptions/LocalSearchException.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime-localsearch/src/main/java/tools/refinery/viatra/runtime/localsearch/exceptions/LocalSearchException.java b/subprojects/viatra-runtime-localsearch/src/main/java/tools/refinery/viatra/runtime/localsearch/exceptions/LocalSearchException.java new file mode 100644 index 00000000..c239e766 --- /dev/null +++ b/subprojects/viatra-runtime-localsearch/src/main/java/tools/refinery/viatra/runtime/localsearch/exceptions/LocalSearchException.java | |||
@@ -0,0 +1,33 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2013, Zoltan Ujhelyi, Akos Horvath, 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.localsearch.exceptions; | ||
10 | |||
11 | import tools.refinery.viatra.runtime.matchers.ViatraQueryRuntimeException; | ||
12 | |||
13 | /** | ||
14 | * @author Zoltan Ujhelyi, Akos Horvath | ||
15 | * | ||
16 | */ | ||
17 | public class LocalSearchException extends ViatraQueryRuntimeException { | ||
18 | |||
19 | private static final long serialVersionUID = -2585896573351435974L; | ||
20 | |||
21 | public static final String PLAN_EXECUTION_ERROR = "Error while executing search plan"; | ||
22 | public static final String TYPE_ERROR = "Invalid type of variable"; | ||
23 | |||
24 | public LocalSearchException(String description, Throwable rootException) { | ||
25 | super(description, rootException); | ||
26 | } | ||
27 | |||
28 | public LocalSearchException(String description) { | ||
29 | super(description); | ||
30 | } | ||
31 | |||
32 | |||
33 | } | ||