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 the FormattingMessager API instead.
Author:
Gunnar Morling
See Also:
  • Constructor Details

    • 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 Details