public class WrappedTCErrorHandler extends Object implements ITCErrorHandler
ITCErrorHandler| Constructor and Description |
|---|
WrappedTCErrorHandler(com.helger.commons.error.list.ErrorList aErrorList)
Constructor collecting all errors.
|
WrappedTCErrorHandler(com.helger.commons.error.list.ErrorList aErrorList,
Predicate<? super com.helger.commons.error.IError> aFilter)
Constructor collecting all errors matching the provided filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(com.helger.commons.error.level.EErrorLevel eErrorLevel,
String sMsg,
Throwable t,
eu.toop.edm.error.IToopErrorCode eCode)
The main error handler method to be implemented
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonError, onError, onWarning, onWarningpublic WrappedTCErrorHandler(@Nonnull com.helger.commons.error.list.ErrorList aErrorList)
aErrorList - The error list to be filled. May not be null.public WrappedTCErrorHandler(@Nonnull com.helger.commons.error.list.ErrorList aErrorList, @Nullable Predicate<? super com.helger.commons.error.IError> aFilter)
aErrorList - The error list to be filled. May not be null.aFilter - The filter to be used. May be null to collect all
errors.public void onMessage(@Nonnull com.helger.commons.error.level.EErrorLevel eErrorLevel, @Nonnull String sMsg, @Nullable Throwable t, @Nonnull eu.toop.edm.error.IToopErrorCode eCode)
ITCErrorHandleronMessage in interface ITCErrorHandlereErrorLevel - Error level. Never null.sMsg - Error text. Never null.t - Optional exception. May be null.eCode - The TOOP specific error code. Never null.Copyright © 2020 toop.eu. All rights reserved.