Package com.helger.photon.ajax.callback
Class LoggingAjaxExceptionCallback
- java.lang.Object
-
- com.helger.photon.ajax.callback.LoggingAjaxExceptionCallback
-
- All Implemented Interfaces:
com.helger.commons.callback.ICallback,IAjaxExceptionCallback
public class LoggingAjaxExceptionCallback extends Object implements IAjaxExceptionCallback
Implementation ofIAjaxExceptionCallbacklogging to an SLF4J logger- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description LoggingAjaxExceptionCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAjaxExecutionException(IAjaxInvoker aAjaxInvoker, String sFunctionName, IAjaxExecutor aAjaxExecutor, com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, Exception ex)Called when an exception of the specified type occurred
-
-
-
Method Detail
-
onAjaxExecutionException
public void onAjaxExecutionException(@Nullable IAjaxInvoker aAjaxInvoker, @Nullable String sFunctionName, @Nonnull IAjaxExecutor aAjaxExecutor, @Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull Exception ex)
Description copied from interface:IAjaxExceptionCallbackCalled when an exception of the specified type occurred- Specified by:
onAjaxExecutionExceptionin interfaceIAjaxExceptionCallback- Parameters:
aAjaxInvoker- Source AJAX invoker. Nevernull.sFunctionName- The AJAX function that should have been involved. Nevernull.aAjaxExecutor- The running AJAX executor. Nevernull.aRequestScope- The request scope. Nevernull.ex- The exception. Nevernull.
-
-