Module org.apache.jena.arq
Package org.apache.jena.riot.system
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 Summary
ConstructorsConstructorDescriptionErrorHandlerTracking(org.slf4j.Logger log, boolean failOnError, boolean failOnWarning) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.report an errorvoidDeprecated.report a catastrophic error.longDeprecated.longDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidreport an errorvoidreport a catastrophic errorvoidlogWarning(String message, long line, long col) report a warningvoidDeprecated.report a warning
-
Constructor Details
-
ErrorHandlerTracking
public ErrorHandlerTracking(org.slf4j.Logger log, boolean failOnError, boolean failOnWarning) Deprecated.
-
-
Method Details
-
warning
Deprecated.report a warning- Specified by:
warningin interfaceErrorHandler
-
error
Deprecated.report an error- Specified by:
errorin interfaceErrorHandler
-
fatal
Deprecated.Description copied from interface:ErrorHandlerreport a catastrophic error. Must not return.- Specified by:
fatalin interfaceErrorHandler
-
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
report a warning -
logError
report an error -
logFatal
report a catastrophic error
-