ErrorHandler
and exposing utlity methods.
This class also wraps SAXException to a RuntimeException so that the exception thrown inside the error handler can abort the process.
At the end of the day, we need to know if there was any error. So it is important that all the error messages go through this object. This is done by hiding the errorHandler from the rest of the components.
| Modifier and Type | Field and Description |
|---|---|
| private final ErrorReceiver | errorReceiver
Error handler to report any binding error to. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void |
| errorReceiver | back to summary |
|---|---|
| private final ErrorReceiver errorReceiver Error handler to report any binding error to. To report errors, use the error method. | |
| ErrorReporter | back to summary |
|---|---|
| public ErrorReporter() Default constructor. | |
| error | back to summary |
|---|---|
| pack-priv void error(Locator loc, String prop, Object... args) | |
| warning | back to summary |
|---|---|
| pack-priv void warning(Locator loc, String prop, Object... args) | |