org.openjena.riot
Class ErrorHandlerFactory

java.lang.Object
  extended by org.openjena.riot.ErrorHandlerFactory

public class ErrorHandlerFactory
extends Object


Field Summary
static ErrorHandler errorHandlerNoLogging
          Silent error handler
static ErrorHandler errorHandlerStd
          Standard error handler - logs to stdLogger
static ErrorHandler errorHandlerStrict
          Strict error handler - logs to stdLogger - exceptions for warnings
static ErrorHandler errorHandlerWarn
          Warning error handler - logs to stdLogger - mesages for warnings and some errors
static org.slf4j.Logger noLogger
           
static org.slf4j.Logger stdLogger
           
 
Constructor Summary
ErrorHandlerFactory()
           
 
Method Summary
static ErrorHandler errorHandlerSimple()
           
static ErrorHandler errorHandlerStd(org.slf4j.Logger log)
           
static ErrorHandler errorHandlerStrict(org.slf4j.Logger log)
           
static ErrorHandler errorHandlerWarning(org.slf4j.Logger log)
           
static void setTestLogging(boolean visible)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stdLogger

public static final org.slf4j.Logger stdLogger

noLogger

public static final org.slf4j.Logger noLogger

errorHandlerStd

public static ErrorHandler errorHandlerStd
Standard error handler - logs to stdLogger


errorHandlerStrict

public static ErrorHandler errorHandlerStrict
Strict error handler - logs to stdLogger - exceptions for warnings


errorHandlerWarn

public static ErrorHandler errorHandlerWarn
Warning error handler - logs to stdLogger - mesages for warnings and some errors


errorHandlerNoLogging

public static ErrorHandler errorHandlerNoLogging
Silent error handler

Constructor Detail

ErrorHandlerFactory

public ErrorHandlerFactory()
Method Detail

setTestLogging

public static void setTestLogging(boolean visible)

errorHandlerStrict

public static ErrorHandler errorHandlerStrict(org.slf4j.Logger log)

errorHandlerStd

public static ErrorHandler errorHandlerStd(org.slf4j.Logger log)

errorHandlerWarning

public static ErrorHandler errorHandlerWarning(org.slf4j.Logger log)

errorHandlerSimple

public static ErrorHandler errorHandlerSimple()


Licenced under the Apache License, Version 2.0