| /******************************************************************************* |
| * Copyright (c) 2015 Obeo. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Obeo - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.acceleo.query.runtime; |
| |
| /** |
| * Exception thrown whenever an internal error is detected during validation of a Query. |
| * |
| * @author <a href="mailto:romain.guider@obeo.fr">Romain Guider</a> |
| */ |
| public class AcceleoQueryValidationException extends RuntimeException { |
| |
| /** |
| * Generated serial version UID. |
| */ |
| private static final long serialVersionUID = -8340253820178682925L; |
| |
| /** |
| * Creates a new {@link AcceleoQueryValidationException} instance. |
| */ |
| public AcceleoQueryValidationException() { |
| } |
| |
| /** |
| * Creates a new {@link AcceleoQueryValidationException} instance with the specified message. |
| * |
| * @param message |
| * the message to be printed in the stack trace. |
| */ |
| public AcceleoQueryValidationException(String message) { |
| super(message); |
| } |
| |
| /** |
| * Creates a new {@link AcceleoQueryValidationException} instance with the specified message. |
| * |
| * @param cause |
| * the exception that's embedded in this instance. |
| */ |
| |
| public AcceleoQueryValidationException(Throwable cause) { |
| super(cause); |
| } |
| |
| /** |
| * Creates a new {@link AcceleoQueryValidationException} instance with the specified message. |
| * |
| * @param cause |
| * the exception that's embedded in this instance. |
| * @param message |
| * the message to be printed in the stack trace. |
| */ |
| |
| public AcceleoQueryValidationException(String message, Throwable cause) { |
| super(message, cause); |
| } |
| |
| } |