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 TypeMethodDescriptionvoid
Deprecated.report an errorvoid
Deprecated.report a catastrophic error.long
Deprecated.long
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.void
report an errorvoid
report a catastrophic errorvoid
logWarning
(String message, long line, long col) report a warningvoid
Deprecated.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:
warning
in interfaceErrorHandler
-
error
Deprecated.report an error- Specified by:
error
in interfaceErrorHandler
-
fatal
Deprecated.Description copied from interface:ErrorHandler
report a catastrophic error. Must not return.- Specified by:
fatal
in 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
-