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

jedi.annotation.writer.factory.FactoryWriterException Maven / Gradle / Ivy

package jedi.annotation.writer.factory;

import jedi.annotation.processor.Environment;
import jedi.annotation.processor.model.Annotateable;

public class FactoryWriterException extends RuntimeException {
	private static final long serialVersionUID = -5943860218162527130L;

	private final Annotateable method;

	public FactoryWriterException(String message, Annotateable method) {
		super(message);
		this.method = method;
	}

	public void write(Environment environment) {
		method.showProcessingError(environment, getMessage());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy