public class LoggingTCErrorHandler extends Object implements ITCErrorHandler
ITCErrorHandler| Modifier and Type | Field and Description |
|---|---|
static LoggingTCErrorHandler |
INSTANCE |
| Constructor and Description |
|---|
LoggingTCErrorHandler() |
| 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 static final LoggingTCErrorHandler INSTANCE
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.