public class LoggingPSErrorHandler extends AbstractPSErrorHandler
IPSErrorHandler that logs to an SLF4J logger.| Modifier and Type | Field and Description |
|---|---|
static com.helger.commons.error.IErrorTextProvider |
DEFAULT_PS |
| Constructor and Description |
|---|
LoggingPSErrorHandler() |
LoggingPSErrorHandler(IPSErrorHandler aNestedErrorHandler) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.error.IErrorTextProvider |
getErrorTextProvider() |
protected void |
handleInternally(com.helger.commons.error.IError aError)
The internal method to handle warnings and errors.
|
LoggingPSErrorHandler |
setErrorTextProvider(com.helger.commons.error.IErrorTextProvider aETP) |
getNestedErrorHandler, handleError, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiterror, getErrorFieldNamepublic LoggingPSErrorHandler()
public LoggingPSErrorHandler(@Nullable IPSErrorHandler aNestedErrorHandler)
@Nonnull public final com.helger.commons.error.IErrorTextProvider getErrorTextProvider()
@Nonnull public final LoggingPSErrorHandler setErrorTextProvider(@Nonnull com.helger.commons.error.IErrorTextProvider aETP)
protected void handleInternally(@Nonnull com.helger.commons.error.IError aError)
AbstractPSErrorHandlerhandleInternally in class AbstractPSErrorHandleraError - The structured error. May not be null.Copyright © 2014–2020 Philip Helger. All rights reserved.