public interface ErrorHandler
ModelBuilder.
All the static errors have to be reported while constructing a
model, not when a model is used (IOW, until the ModelBuilder.link() completes.
Internally, ModelBuilder wraps an ErrorHandler and all the model
components should report errors through it.
IllegalAnnotationException is a checked exception to remind
the model classes to report it rather than to throw it.
ModelBuilder| Modifier and Type | Method and Description |
|---|---|
void |
error(IllegalAnnotationException e)
Receives a notification for an error in the annotated code.
|
void error(IllegalAnnotationException e)
Copyright © 2015 Oracle Corporation. All Rights Reserved.