Class ThrowingErrorHandler
java.lang.Object
ac.simons.neo4j.migrations.core.internal.ThrowingErrorHandler
- All Implemented Interfaces:
ErrorHandler
A throwing error handler used when building
documents
for which a scheme is available.
We do skip error cvc-id.1, which indicates unresolvable ids. This is on purpose, as we usually can resolve
them in older migrations and if not, we still can throw things around.- Since:
- 1.7.0
- Author:
- Michael J. Simons
- Soundtrack
- Pet Shop Boys - Please
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) void
warning
(SAXParseException exception)
-
Constructor Details
-
ThrowingErrorHandler
public ThrowingErrorHandler()
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-