Package org.tquadrat.foundation.ap
Class IllegalAnnotationError
java.lang.Object
java.lang.Throwable
java.lang.Error
org.tquadrat.foundation.ap.AnnotationProcessingError
org.tquadrat.foundation.ap.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"
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
The serial version UID for objects of this class: 2397757838147693218L. -
Constructor Summary
ConstructorsConstructorDescriptionIllegalAnnotationError
(A annotation) Creates a newIllegalAnnotationError
instance.IllegalAnnotationError
(Class<? extends Annotation> annotationClass) Creates a newIllegalAnnotationError
instance.IllegalAnnotationError
(String message) Creates a newIllegalAnnotationError
instance.IllegalAnnotationError
(String message, A annotation) Creates a newIllegalAnnotationError
instance.IllegalAnnotationError
(String message, Class<? extends Annotation> annotationClass) Creates a newIllegalAnnotationError
instance.IllegalAnnotationError
(String message, Throwable cause) Creates a newIllegalAnnotationError
instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
The serial version UID for objects of this class: 2397757838147693218L.- See Also:
-
-
Constructor Details
-
IllegalAnnotationError
Creates a newIllegalAnnotationError
instance.- Parameters:
message
- The message for the error.
-
IllegalAnnotationError
Creates a newIllegalAnnotationError
instance.- Type Parameters:
A
- The type of the illegal annotation.- Parameters:
annotation
- The invalid annotation.
-
IllegalAnnotationError
Creates a newIllegalAnnotationError
instance.- Parameters:
annotationClass
- The class of the invalid annotation.
-
IllegalAnnotationError
Creates a newIllegalAnnotationError
instance.- Type Parameters:
A
- The type of the illegal annotation.- Parameters:
message
- The message for the error.annotation
- The invalid annotation.
-
IllegalAnnotationError
Creates a newIllegalAnnotationError
instance.- Parameters:
message
- The message for the error.annotationClass
- The class of the invalid annotation.
-
IllegalAnnotationError
Creates a newIllegalAnnotationError
instance.- Parameters:
message
- The message for the error.cause
- The root exception for this error.
-