public class LayerGenerationException extends Exception
LayerGeneratingProcessor,
Serialized Form| Constructor and Description |
|---|
LayerGenerationException(String message)
An exception with no associated element.
|
LayerGenerationException(String message,
Element erroneousElement)
An exception with an associated element.
|
LayerGenerationException(String message,
Element erroneousElement,
AnnotationMirror erroneousAnnotation)
An exception with an associated annotation.
|
LayerGenerationException(String message,
Element erroneousElement,
AnnotationMirror erroneousAnnotation,
AnnotationValue erroneousAnnotationValue)
An exception with an associated annotation value.
|
LayerGenerationException(String message,
Element erroneousElement,
ProcessingEnvironment processingEnv,
Annotation erroneousAnnotation)
An exception with an associated annotation.
|
LayerGenerationException(String message,
Element erroneousElement,
ProcessingEnvironment processingEnv,
Annotation erroneousAnnotation,
String erroneousAnnotationMethod)
An exception with an associated annotation value.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LayerGenerationException(String message)
message - a detail message which could be reported to the userMessager.printMessage(javax.tools.Diagnostic.Kind, CharSequence)public LayerGenerationException(String message, Element erroneousElement)
message - a detail message which could be reported to the usererroneousElement - the associated elementMessager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element)public LayerGenerationException(String message, Element erroneousElement, AnnotationMirror erroneousAnnotation)
message - a detail message which could be reported to the usererroneousElement - the associated elementerroneousAnnotation - the annotation on the elementMessager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element, AnnotationMirror)public LayerGenerationException(String message, Element erroneousElement, AnnotationMirror erroneousAnnotation, AnnotationValue erroneousAnnotationValue)
message - a detail message which could be reported to the usererroneousElement - the associated elementerroneousAnnotation - the annotation on the elementerroneousAnnotationValue - the value of that annotationMessager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element, AnnotationMirror, AnnotationValue)public LayerGenerationException(String message, Element erroneousElement, ProcessingEnvironment processingEnv, Annotation erroneousAnnotation)
message - a detail message which could be reported to the usererroneousElement - the associated elementprocessingEnv - the processing environment passed to the processorerroneousAnnotation - the reflected annotation on the element (may be null as a convenience)Messager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element, AnnotationMirror)public LayerGenerationException(String message, Element erroneousElement, ProcessingEnvironment processingEnv, Annotation erroneousAnnotation, String erroneousAnnotationMethod)
message - a detail message which could be reported to the usererroneousElement - the associated elementprocessingEnv - the processing environment passed to the processorerroneousAnnotation - the reflected annotation on the element (may be null as a convenience)erroneousAnnotationMethod - the name of a method in that annotation (may be null)Messager.printMessage(javax.tools.Diagnostic.Kind, CharSequence, Element, AnnotationMirror, AnnotationValue)