Class ErrorHandlerWrapper

java.lang.Object
org.apache.jena.riot.system.ErrorHandlerWrapper
All Implemented Interfaces:
ErrorHandler

public class ErrorHandlerWrapper extends Object implements ErrorHandler
An error handler that direct method calls to another error handler.

This can be used add functional or monitoring to an existing error handler.

  • Constructor Details

    • ErrorHandlerWrapper

      public ErrorHandlerWrapper(ErrorHandler other)
  • Method Details

    • get

      public ErrorHandler get()
    • 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