Class HintErrorHandler
- java.lang.Object
-
- org.owasp.dependencycheck.xml.hints.HintErrorHandler
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
@ThreadSafe public class HintErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandler
An XML parsing error handler.- Author:
- Jeremy Long
-
-
Constructor Summary
Constructors Constructor Description HintErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(org.xml.sax.SAXParseException ex)
Handles errors.void
fatalError(org.xml.sax.SAXParseException ex)
Handles fatal exceptions.void
warning(org.xml.sax.SAXParseException ex)
Logs warnings.
-
-
-
Method Detail
-
warning
public void warning(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
Logs warnings.- Specified by:
warning
in interfaceorg.xml.sax.ErrorHandler
- Parameters:
ex
- the warning to log- Throws:
org.xml.sax.SAXException
- is never thrown
-
error
public void error(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
Handles errors.- Specified by:
error
in interfaceorg.xml.sax.ErrorHandler
- Parameters:
ex
- the error to handle- Throws:
org.xml.sax.SAXException
- is always thrown
-
fatalError
public void fatalError(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
Handles fatal exceptions.- Specified by:
fatalError
in interfaceorg.xml.sax.ErrorHandler
- Parameters:
ex
- a fatal exception- Throws:
org.xml.sax.SAXException
- is always
-
-