Package org.mapstruct.ap.internal.util
Class AnnotationProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.mapstruct.ap.internal.util.AnnotationProcessingException
-
- All Implemented Interfaces:
java.io.Serializable
public class AnnotationProcessingException extends java.lang.RuntimeExceptionIndicates an error during annotation processing. Should only be thrown in non-recoverable situations such as errors due to incomplete compilations etc. Expected errors to be propagated to the user of the annotation processor should be raised using theFormattingMessagerAPI instead.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private javax.lang.model.element.AnnotationMirrorannotationMirrorprivate javax.lang.model.element.AnnotationValueannotationValueprivate javax.lang.model.element.Elementelement
-
Constructor Summary
Constructors Constructor Description AnnotationProcessingException(java.lang.String message)AnnotationProcessingException(java.lang.String message, javax.lang.model.element.Element element)AnnotationProcessingException(java.lang.String message, javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotationMirror)AnnotationProcessingException(java.lang.String message, javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotationMirror, javax.lang.model.element.AnnotationValue annotationValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.element.AnnotationMirrorgetAnnotationMirror()javax.lang.model.element.AnnotationValuegetAnnotationValue()javax.lang.model.element.ElementgetElement()
-
-
-
Constructor Detail
-
AnnotationProcessingException
public AnnotationProcessingException(java.lang.String message)
-
AnnotationProcessingException
public AnnotationProcessingException(java.lang.String message, javax.lang.model.element.Element element)
-
AnnotationProcessingException
public AnnotationProcessingException(java.lang.String message, javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotationMirror)
-
AnnotationProcessingException
public AnnotationProcessingException(java.lang.String message, javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotationMirror, javax.lang.model.element.AnnotationValue annotationValue)
-
-