Interface IAPIExceptionMapper

    • Method Detail

      • applyExceptionOnResponse

        @Nonnull
        com.helger.commons.state.EHandled applyExceptionOnResponse​(@Nonnull
                                                                   InvokableAPIDescriptor aInvokableDescriptor,
                                                                   @Nonnull
                                                                   com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
                                                                   @Nonnull
                                                                   com.helger.servlet.response.UnifiedResponse aUnifiedResponse,
                                                                   @Nonnull
                                                                   Throwable aThrowable)
        Parameters:
        aInvokableDescriptor - The current invokable descriptor. Never null.
        aRequestScope - The current request scope. Never null.
        aUnifiedResponse - The current response. Never null.
        aThrowable - The thrown Exception. Never null.
        Returns:
        EHandled.HANDLED to indicate that the exception was handled and should NOT be re-thrown.