Class ExceptionProcessor
java.lang.Object
gov.nasa.pds.tools.validate.rule.pds4.ExceptionProcessor
- All Implemented Interfaces:
ExceptionHandler
public class ExceptionProcessor extends Object implements ExceptionHandler
Implements an exception handler for XML parsing and Schematron
errors.
-
Constructor Summary
Constructors Constructor Description ExceptionProcessor(ProblemListener listener, URL target)
-
Method Summary
Modifier and Type Method Description void
addException(LabelException exception)
Reports an exception encountered during label validation.URL
getTarget()
-
Constructor Details
-
ExceptionProcessor
-
-
Method Details
-
getTarget
-
addException
Description copied from interface:ExceptionHandler
Reports an exception encountered during label validation.- Specified by:
addException
in interfaceExceptionHandler
- Parameters:
exception
- the exception encountered
-