- java.lang.Object
-
- com.sun.xml.xsom.impl.util.DraconianErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public class DraconianErrorHandler extends Object implements ErrorHandler
Aborts on the first error.
-
-
Constructor Summary
Constructors Constructor Description DraconianErrorHandler()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(SAXParseException e)
void
fatalError(SAXParseException e)
void
warning(SAXParseException e)
-
-
-
Method Detail
-
error
public void error(SAXParseException e) throws SAXException
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException e) throws SAXException
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-
warning
public void warning(SAXParseException e)
- Specified by:
warning
in interfaceErrorHandler
-
-