Class CodeGenerationError

All Implemented Interfaces:
Serializable

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

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

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

    • CodeGenerationError

      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).
    • CodeGenerationError

      public CodeGenerationError(String message)
      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.
    • CodeGenerationError

      public CodeGenerationError(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.
    • CodeGenerationError

      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.