Class SuppressionErrorHandler
- java.lang.Object
-
- org.owasp.dependencycheck.xml.suppression.SuppressionErrorHandler
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
@ThreadSafe public class SuppressionErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandlerAn XML parsing error handler.- Author:
- Jeremy Long
-
-
Constructor Summary
Constructors Constructor Description SuppressionErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(org.xml.sax.SAXParseException ex)Handles errors.voidfatalError(org.xml.sax.SAXParseException ex)Handles fatal exceptions.voidwarning(org.xml.sax.SAXParseException ex)Logs warnings.
-
-
-
Method Detail
-
warning
public void warning(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXExceptionLogs warnings.- Specified by:
warningin 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.SAXExceptionHandles errors.- Specified by:
errorin 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.SAXExceptionHandles fatal exceptions.- Specified by:
fatalErrorin interfaceorg.xml.sax.ErrorHandler- Parameters:
ex- a fatal exception- Throws:
org.xml.sax.SAXException- is always thrown
-
-