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 voidaddException(LabelException exception)Reports an exception encountered during label validation.URLgetTarget()
-
-
-
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:ExceptionHandlerReports an exception encountered during label validation.- Specified by:
addExceptionin interfaceExceptionHandler- Parameters:
exception- the exception encountered
-
-