public interface ITCErrorHandler
| Modifier and Type | Method and Description |
|---|---|
default void |
onError(String sMsg,
eu.toop.edm.error.IToopErrorCode eCode) |
default void |
onError(String sMsg,
Throwable t,
eu.toop.edm.error.IToopErrorCode eCode) |
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
|
default void |
onWarning(String sMsg,
eu.toop.edm.error.IToopErrorCode eCode) |
default void |
onWarning(String sMsg,
Throwable t,
eu.toop.edm.error.IToopErrorCode eCode) |
void onMessage(@Nonnull com.helger.commons.error.level.EErrorLevel eErrorLevel, @Nonnull String sMsg, @Nullable Throwable t, @Nonnull eu.toop.edm.error.IToopErrorCode eCode)
eErrorLevel - Error level. Never null.sMsg - Error text. Never null.t - Optional exception. May be null.eCode - The TOOP specific error code. Never null.default void onWarning(@Nonnull String sMsg, @Nonnull eu.toop.edm.error.IToopErrorCode eCode)
default void onWarning(@Nonnull String sMsg, @Nullable Throwable t, @Nonnull eu.toop.edm.error.IToopErrorCode eCode)
Copyright © 2020 toop.eu. All rights reserved.