Class AnnotationProcessingException

  • All Implemented Interfaces:

    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.
    Gunnar Morling
    See Also:
    Serialized Form
    • Constructor Detail

      • AnnotationProcessingException

        public AnnotationProcessingException​(String message)
      • AnnotationProcessingException

        public AnnotationProcessingException​(String message,
                                             Element element)