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 Details

    • ExceptionProcessor

      public ExceptionProcessor​(ProblemListener listener, URL target)
  • Method Details

    • 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 interface ExceptionHandler
      Parameters:
      exception - the exception encountered