Class ErrorHandlerFactory.ErrorHandlerRecorder

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

public static class ErrorHandlerFactory.ErrorHandlerRecorder extends Object implements ErrorHandler
An error handler that counts errors and warnings.
  • Constructor Details

    • ErrorHandlerRecorder

      public ErrorHandlerRecorder(ErrorHandler other)
  • Method Details

    • warning

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

      public void error(String message, long line, long col)
      Description copied from interface: ErrorHandler
      report an error : May not return (depends on error handler policy)
      Specified by:
      error in interface ErrorHandler
    • fatal

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

      public long getFatalCount()
    • getErrorCount

      public long getErrorCount()
    • getWarningCount

      public long getWarningCount()
    • hadErrors

      public boolean hadErrors()
    • hadWarnings

      public boolean hadWarnings()
    • hadIssues

      public boolean hadIssues()