Class IllegalAnnotationError

All Implemented Interfaces:
Serializable

@ClassVersion(sourceVersion="$Id: IllegalAnnotationError.java 1061 2023-09-25 16:32:43Z tquadrat $") @API(status=STABLE, since="0.1.0") public final class IllegalAnnotationError extends AnnotationProcessingError
Signals an incorrect use of an annotations.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: IllegalAnnotationError.java 1061 2023-09-25 16:32:43Z tquadrat $
Since:
0.1.0
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.ap.IllegalAnnotationError"

UML Diagram for "org.tquadrat.foundation.ap.IllegalAnnotationError"

UML Diagram for "org.tquadrat.foundation.ap.IllegalAnnotationError"
  • Field Details

  • Constructor Details

    • IllegalAnnotationError

      public IllegalAnnotationError(String message)
      Creates a new IllegalAnnotationError instance.
      Parameters:
      message - The message for the error.
    • IllegalAnnotationError

      public IllegalAnnotationError(A annotation)
      Creates a new IllegalAnnotationError instance.
      Type Parameters:
      A - The type of the illegal annotation.
      Parameters:
      annotation - The invalid annotation.
    • IllegalAnnotationError

      public IllegalAnnotationError(Class<? extends Annotation> annotationClass)
      Creates a new IllegalAnnotationError instance.
      Parameters:
      annotationClass - The class of the invalid annotation.
    • IllegalAnnotationError

      public IllegalAnnotationError(String message, A annotation)
      Creates a new IllegalAnnotationError instance.
      Type Parameters:
      A - The type of the illegal annotation.
      Parameters:
      message - The message for the error.
      annotation - The invalid annotation.
    • IllegalAnnotationError

      public IllegalAnnotationError(String message, Class<? extends Annotation> annotationClass)
      Creates a new IllegalAnnotationError instance.
      Parameters:
      message - The message for the error.
      annotationClass - The class of the invalid annotation.
    • IllegalAnnotationError

      public IllegalAnnotationError(String message, Throwable cause)
      Creates a new IllegalAnnotationError instance.
      Parameters:
      message - The message for the error.
      cause - The root exception for this error.