public abstract class AbstractPSErrorHandler extends Object implements IPSErrorHandler
IPSErrorHandler.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPSErrorHandler() |
protected |
AbstractPSErrorHandler(IPSErrorHandler aNestedErrorHandler) |
| Modifier and Type | Method and Description |
|---|---|
IPSErrorHandler |
getNestedErrorHandler() |
void |
handleError(com.helger.commons.error.IError aError)
Handle a warning or error
|
protected abstract void |
handleInternally(com.helger.commons.error.IError aError)
The internal method to handle warnings and errors.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiterror, getErrorFieldNameprotected AbstractPSErrorHandler()
protected AbstractPSErrorHandler(@Nullable IPSErrorHandler aNestedErrorHandler)
@Nullable public IPSErrorHandler getNestedErrorHandler()
null if none was provided.protected abstract void handleInternally(@Nonnull com.helger.commons.error.IError aError)
aError - The structured error. May not be null.public final void handleError(@Nonnull com.helger.commons.error.IError aError)
IPSErrorHandlerhandleError in interface IPSErrorHandleraError - The structured error. May not be null.Copyright © 2014–2020 Philip Helger. All rights reserved.