com.jeppeman.highlite.ProcessingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highlite-compiler Show documentation
Show all versions of highlite-compiler Show documentation
HighLite for Android with automatic table creation and updates.
package com.jeppeman.highlite;
import javax.lang.model.element.Element;
/**
* {@link RuntimeException} that holds a reference to the {@link Element} that caused the exception
* so that the {@link HighLiteProcessor} can handle the error properly.
*
* @author jesper
*/
@SuppressWarnings("unused")
final class ProcessingException extends RuntimeException {
private final Element mElement;
ProcessingException(final Element element, final String message) {
super(message);
mElement = element;
}
ProcessingException(final Element element, final Throwable cause) {
super(cause);
mElement = element;
}
ProcessingException(final Element element, final String message, final Throwable cause) {
super(message, cause);
mElement = element;
}
Element getElement() {
return mElement;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy