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 notication 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 informationany - exception to stop the annotation processingAnnotationProcessorExceptionpublic void warning(AnnotationProcessorException ape) throws AnnotationProcessorException
warning in interface ErrorHandlerape - The warning informationany - exception to stop the annotation processingAnnotationProcessorExceptionpublic void error(AnnotationProcessorException ape) throws AnnotationProcessorException
error in interface ErrorHandlerape - The error informationamy - exception to stop the annotation processingAnnotationProcessorExceptionCopyright © 2015. All rights reserved.