Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d92a2872dcdc251af7d2d0e9f234c6136f6e392f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
 * Copyright (c) 2009 Mia-Software.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     Gregoire Dupe (Mia-Software) - initial API and implementation
 */
package org.eclipse.papyrus.emf.facet.efacet.core.exception;

/**
 * This exception is raised when something is wrong with a query, and there is not a more specific
 * sub-class to describe the error (e.g. {@link QueryExecutionException} )
 *
 * @deprecated replaced by {@link DerivedTypedElementException}
 */
@Deprecated
public class QueryException extends Exception {

	// This class is a copy of :
	// org.eclipse.papyrus.emf.facet.infra.query.core.exception.ModelQueryException

	private static final long serialVersionUID = -3203874059325745157L;

	public QueryException(final String message) {
		super(message);
	}

	public QueryException(final String message, final Throwable cause) {
		super(message, cause);
	}

	public QueryException(final Throwable cause) {
		super(cause);
	}

}

Back to the top