Class AnnotationProcessingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.infinispan.protostream.annotations.impl.processor.AnnotationProcessingException
All Implemented Interfaces:
Serializable

final class AnnotationProcessingException extends RuntimeException
An exception thrown to stop processing of annotations abruptly whenever the conditions do not allow to continue (ie. annotation values are not invalid) and a compilation error is to be issued immediately.
Since:
4.3
  • Field Details

    • location

      private final Element location
    • message

      private final String message
    • msgParams

      private final Object[] msgParams
  • Constructor Details

    • AnnotationProcessingException

      AnnotationProcessingException(Element location, String message, Object... msgParams)
    • AnnotationProcessingException

      AnnotationProcessingException(Throwable cause, Element location, String message, Object... msgParams)
  • Method Details

    • getLocation

      public Element getLocation()
    • getFormattedMessage

      public String getFormattedMessage()