org.eclipse.xtext.xbase.interpreter.StackedConstantExpressionEvaluationException Maven / Gradle / Ivy
/**
* Copyright (c) 2014 itemis AG (http://www.itemis.eu) and others.
* 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
*/
package org.eclipse.xtext.xbase.interpreter;
import org.eclipse.xtext.common.types.JvmField;
import org.eclipse.xtext.xbase.XExpression;
import org.eclipse.xtext.xbase.interpreter.ConstantExpressionEvaluationException;
@SuppressWarnings("all")
public class StackedConstantExpressionEvaluationException extends ConstantExpressionEvaluationException {
private JvmField field;
private ConstantExpressionEvaluationException cause;
public StackedConstantExpressionEvaluationException(final XExpression expression, final JvmField field, final ConstantExpressionEvaluationException cause) {
super(((("Error during call to " + field.getSimpleName()) + " : ") + cause.getMessage()), expression);
this.field = field;
this.cause = cause;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy