Class SentryWebExceptionHandler

  • All Implemented Interfaces:
    org.springframework.web.server.WebExceptionHandler

    @Order(-2)
    @Experimental
    public final class SentryWebExceptionHandler
    extends java.lang.Object
    implements org.springframework.web.server.WebExceptionHandler
    Handles unhandled exceptions in Spring WebFlux integration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull reactor.core.publisher.Mono<java.lang.Void> handle​(@NotNull org.springframework.web.server.ServerWebExchange serverWebExchange, @NotNull java.lang.Throwable ex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SentryWebExceptionHandler

        public SentryWebExceptionHandler​(@NotNull
                                         @NotNull io.sentry.IHub hub)
    • Method Detail

      • handle

        @NotNull
        public @NotNull reactor.core.publisher.Mono<java.lang.Void> handle​(@NotNull
                                                                           @NotNull org.springframework.web.server.ServerWebExchange serverWebExchange,
                                                                           @NotNull
                                                                           @NotNull java.lang.Throwable ex)
        Specified by:
        handle in interface org.springframework.web.server.WebExceptionHandler