Class HintErrorHandler
java.lang.Object
org.owasp.dependencycheck.xml.hints.HintErrorHandler
- All Implemented Interfaces:
ErrorHandler
An XML parsing error handler.
- Author:
- Jeremy Long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles errors.voidHandles fatal exceptions.voidLogs warnings.
-
Constructor Details
-
HintErrorHandler
public HintErrorHandler()
-
-
Method Details
-
warning
Logs warnings.- Specified by:
warningin interfaceErrorHandler- Parameters:
ex- the warning to log- Throws:
SAXException- is never thrown
-
error
Handles errors.- Specified by:
errorin interfaceErrorHandler- Parameters:
ex- the error to handle- Throws:
SAXException- is always thrown
-
fatalError
Handles fatal exceptions.- Specified by:
fatalErrorin interfaceErrorHandler- Parameters:
ex- a fatal exception- Throws:
SAXException- is always
-