All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.jaxb.annox.parser.exception.AnnotationExpressionParseException Maven / Gradle / Ivy

The newest version!
package org.jvnet.jaxb.annox.parser.exception;

import java.text.MessageFormat;

import com.github.javaparser.ast.Node;

public class AnnotationExpressionParseException extends Exception {

	private static final long serialVersionUID = 1L;

	private Node expression;

	public AnnotationExpressionParseException(Node expression, Throwable cause) {
		super(
				MessageFormat.format(
						"Could not parse the annotation expression [{0}].",
						expression), cause);
		this.expression = expression;
	}

	public Node getExpression() {
		return expression;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy