-
public interface ErrorHandlerlisten to static errors found during building a JAXB model from a set of classes. Implemented by the client ofModelBuilderI.All the static errors have to be reported while constructing a model, not when a model is used (IOW, until the
ModelBuilderIcompletes. Internally,ModelBuilderIwraps anErrorHandlerand all the model components should report errors through it.IllegalAnnotationExceptionis a checked exception to remind the model classes to report it rather than to throw it.- Author:
- Kohsuke Kawaguchi
- See Also:
ModelBuilderI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderror(IllegalAnnotationException e)Receives a notification for an error in the annotated code.
-
-
-
Method Detail
-
error
void error(IllegalAnnotationException e)
Receives a notification for an error in the annotated code.- Parameters:
e-
-
-