public class DefaultErrorHandler extends Object implements ErrorHandler
| Constructor and Description |
|---|
DefaultErrorHandler()
Creates a new ErrorHandler with the default logger
|
DefaultErrorHandler(Logger logger)
Creates a new ErrorHandler with the provided looger;
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(AnnotationProcessorException ape)
Receive notification of an error
|
void |
fine(AnnotationProcessorException ape)
Receive notification of a fine error message
|
void |
warning(AnnotationProcessorException ape)
Receive notification of a warning
|
public DefaultErrorHandler()
public DefaultErrorHandler(Logger logger)
public void fine(AnnotationProcessorException ape) throws AnnotationProcessorException
fine in interface ErrorHandlerape - The warning informationAnnotationProcessorException - any exception to stop the annotation processingpublic void warning(AnnotationProcessorException ape) throws AnnotationProcessorException
warning in interface ErrorHandlerape - The warning informationAnnotationProcessorException - any exception to stop the annotation processingpublic void error(AnnotationProcessorException ape) throws AnnotationProcessorException
error in interface ErrorHandlerape - The error informationAnnotationProcessorException - any exception to stop the annotation processingCopyright © 2019. All rights reserved.