net.karneim.pojobuilder.analysis.InvalidElementException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pojobuilder Show documentation
Show all versions of pojobuilder Show documentation
The PojoBuilder Generator is a Java 6 compliant annotation processor that generates a fluent builder class for POJOs (Plain Old Java Object)
package net.karneim.pojobuilder.analysis;
import javax.lang.model.element.Element;
import net.karneim.pojobuilder.PojoBuilderException;
@SuppressWarnings("serial")
public class InvalidElementException extends PojoBuilderException {
private final Element element;
public InvalidElementException(String message, Element element) {
super(message);
this.element = element;
}
public Element getElement() {
return element;
}
}