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:
Serializable
public class AnnotationProcessingException extends RuntimeException
Indicates 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 theFormattingMessager
API instead.- Author:
- Gunnar Morling
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnnotationProcessingException(String message)
AnnotationProcessingException(String message, Element element)
AnnotationProcessingException(String message, Element element, AnnotationMirror annotationMirror)
AnnotationProcessingException(String message, Element element, AnnotationMirror annotationMirror, AnnotationValue annotationValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationMirror
getAnnotationMirror()
AnnotationValue
getAnnotationValue()
Element
getElement()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AnnotationProcessingException
public AnnotationProcessingException(String message)
-
AnnotationProcessingException
public AnnotationProcessingException(String message, Element element)
-
AnnotationProcessingException
public AnnotationProcessingException(String message, Element element, AnnotationMirror annotationMirror)
-
AnnotationProcessingException
public AnnotationProcessingException(String message, Element element, AnnotationMirror annotationMirror, AnnotationValue annotationValue)
-
-
Method Detail
-
getElement
public Element getElement()
-
getAnnotationMirror
public AnnotationMirror getAnnotationMirror()
-
getAnnotationValue
public AnnotationValue getAnnotationValue()
-
-