Class ErrorHandlerFactory.ErrorHandlerTracking

java.lang.Object
org.apache.jena.riot.system.ErrorHandlerFactory.ErrorHandlerTracking
All Implemented Interfaces:
ErrorHandler
Enclosing class:
ErrorHandlerFactory

@Deprecated public static class ErrorHandlerFactory.ErrorHandlerTracking extends Object implements ErrorHandler
Deprecated.
Do not use - to be removed.
An error handler that logs messages and counts errors and warnings. Optionally:
  • Raise exceptions for warnings.
  • Do not log warnings and don't raise exceptions.
  • Constructor Details

    • ErrorHandlerTracking

      public ErrorHandlerTracking(org.slf4j.Logger log, boolean failOnError, boolean failOnWarning)
      Deprecated.
  • Method Details

    • warning

      public void warning(String message, long line, long col)
      Deprecated.
      report a warning
      Specified by:
      warning in interface ErrorHandler
    • error

      public void error(String message, long line, long col)
      Deprecated.
      report an error
      Specified by:
      error in interface ErrorHandler
    • fatal

      public void fatal(String message, long line, long col)
      Deprecated.
      Description copied from interface: ErrorHandler
      report a catastrophic error. Must not return.
      Specified by:
      fatal in interface ErrorHandler
    • getErrorCount

      public long getErrorCount()
      Deprecated.
    • getWarningCount

      public long getWarningCount()
      Deprecated.
    • hadErrors

      public boolean hadErrors()
      Deprecated.
    • hadWarnings

      public boolean hadWarnings()
      Deprecated.
    • hadIssues

      public boolean hadIssues()
      Deprecated.
    • logWarning

      public void logWarning(String message, long line, long col)
      report a warning
    • logError

      public void logError(String message, long line, long col)
      report an error
    • logFatal

      public void logFatal(String message, long line, long col)
      report a catastrophic error