org.glassfish.apf
Interface ErrorHandler

All Known Implementing Classes:
DefaultErrorHandler

public interface ErrorHandler

Basic interfaced for annotation processing warnings and errors

Author:
Jerome Dochez

Method Summary
 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
 

Method Detail

fine

void fine(AnnotationProcessorException ape)
          throws AnnotationProcessorException
Receive notication of a fine error message

Parameters:
ape - The warning information
Throws:
any - exception to stop the annotation processing
AnnotationProcessorException

warning

void warning(AnnotationProcessorException ape)
             throws AnnotationProcessorException
Receive notification of a warning

Parameters:
ape - The warning information
Throws:
any - exception to stop the annotation processing
AnnotationProcessorException

error

void error(AnnotationProcessorException ape)
           throws AnnotationProcessorException
Receive notification of an error

Parameters:
ape - The error information
Throws:
amy - exception to stop the annotation processing
AnnotationProcessorException


Copyright © 2012 GlassFish Community. All Rights Reserved.