Class AnnotationProcessingError

java.lang.Object
java.lang.Throwable
java.lang.Error
org.tquadrat.foundation.ap.AnnotationProcessingError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CodeGenerationError, IllegalAnnotationError

@ClassVersion(sourceVersion="$Id: AnnotationProcessingError.java 1117 2024-03-15 15:13:48Z tquadrat $") @API(status=STABLE, since="0.1.0") public sealed class AnnotationProcessingError extends Error permits CodeGenerationError, IllegalAnnotationError
The error that will be thrown when there is a general problem with the annotation processing.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: AnnotationProcessingError.java 1117 2024-03-15 15:13:48Z tquadrat $
Since:
0.1.0
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.ap.AnnotationProcessingError"

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

UML Diagram for "org.tquadrat.foundation.ap.AnnotationProcessingError"
  • Constructor Details

    • AnnotationProcessingError

      Constructs a new error with null as its detail message. The cause is not initialised, and may subsequently be initialised by a call to Throwable.initCause(java.lang.Throwable).
    • AnnotationProcessingError

      Constructs a new error with the specified detail message. The cause is not initialised, and may subsequently be initialised by a call to Throwable.initCause(java.lang.Throwable).
      Parameters:
      message - The detail message. It is saved for later retrieval by the Throwable.getMessage() method.
    • AnnotationProcessingError

      public AnnotationProcessingError(String message, Throwable cause)

      Constructs a new error with the specified detail message and cause.

      Note that the detail message associated with cause is not automatically incorporated in this error's detail message.

      Parameters:
      message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.
    • AnnotationProcessingError

      Constructs a new error with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

      This constructor is useful for errors that are little more than wrappers for other instances of Throwable.

      Parameters:
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.