Interface IAjaxExceptionCallback

  • All Superinterfaces:
    com.helger.commons.callback.ICallback
    All Known Implementing Classes:
    LoggingAjaxExceptionCallback

    public interface IAjaxExceptionCallback
    extends com.helger.commons.callback.ICallback
    Callback interface to handle thrown exception objects from the Ajax servlet.
    Author:
    Philip Helger
    • Method Detail

      • onAjaxExecutionException

        void onAjaxExecutionException​(@Nonnull
                                      IAjaxInvoker aAjaxInvoker,
                                      @Nonnull
                                      String sFunctionName,
                                      @Nonnull
                                      IAjaxExecutor aAjaxExecutor,
                                      @Nonnull
                                      com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
                                      @Nonnull
                                      Exception ex)
        Called when an exception of the specified type occurred
        Parameters:
        aAjaxInvoker - Source AJAX invoker. Never null.
        sFunctionName - The AJAX function that should have been involved. Never null.
        aAjaxExecutor - The running AJAX executor. Never null.
        aRequestScope - The request scope. Never null.
        ex - The exception. Never null.