Interface ProblemHandler

All Known Implementing Classes:
ProblemConsoleLister, ProblemLogLister, ProblemMultiHandler

public interface ProblemHandler
Interface for handling problems found in validation and processing of schemas.
  • Method Details

    • handleUnimplemented

      void handleUnimplemented(ValidationProblem prob)
      Handle unimplemented feature.
      Parameters:
      prob -
    • handleWarning

      void handleWarning(ValidationProblem prob)
      Handle warning.
      Parameters:
      prob -
    • handleError

      void handleError(ValidationProblem prob)
      Handle error.
      Parameters:
      prob -
    • handleFatal

      void handleFatal(ValidationProblem prob)
      Handle fatal.
      Parameters:
      prob -
    • report

      void report(String msg)
      Report progress information.
      Parameters:
      msg - progress information
    • terminate

      void terminate(String msg)
      Terminate processing.
      Parameters:
      msg - message reporting why processing is being terminated
    • terminate

      void terminate(String msg, Throwable thr)
      Terminate processing.
      Parameters:
      msg - message reporting why processing is being terminated
      thr - throwable with problem details