S
- type of the source where the error was generatedpublic class LoggerErrorHandler<S> extends Object implements ErrorHandler<S,Exception>
Constructor and Description |
---|
LoggerErrorHandler(org.slf4j.Logger logger)
Creates a new error handler.
|
public LoggerErrorHandler(org.slf4j.Logger logger)
logger
- logger to send the error topublic void errorOccurred(S source, Exception error)
ErrorHandler
errorOccurred
in interface ErrorHandler<S,Exception>
source
- source where the error was generated.error
- error.Copyright © 2015. All Rights Reserved.