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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addException(LabelException exception)
Reports an exception encountered during label validation.URL
getTarget()
-
-
-
Constructor Detail
-
ExceptionProcessor
public ExceptionProcessor(ProblemListener listener, URL target)
-
-
Method Detail
-
getTarget
public URL getTarget()
-
addException
public void addException(LabelException exception)
Description copied from interface:ExceptionHandler
Reports an exception encountered during label validation.- Specified by:
addException
in interfaceExceptionHandler
- Parameters:
exception
- the exception encountered
-
-