Class SourceNotFoundExceptionHandler

java.lang.Object
org.gridgain.internal.rest.cdc.exception.handler.SourceNotFoundExceptionHandler
All Implemented Interfaces:
io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.cdc.api.exception.source.CdcSourceNotFoundException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>

@Singleton @Requires(classes={org.gridgain.internal.cdc.api.exception.source.CdcSourceNotFoundException.class,io.micronaut.http.server.exceptions.ExceptionHandler.class}) public class SourceNotFoundExceptionHandler extends Object implements io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.cdc.api.exception.source.CdcSourceNotFoundException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
Exception handler for CdcSourceNotFoundException.
  • Constructor Details

    • SourceNotFoundExceptionHandler

      public SourceNotFoundExceptionHandler()
  • Method Details

    • handle

      public io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem> handle(io.micronaut.http.HttpRequest request, org.gridgain.internal.cdc.api.exception.source.CdcSourceNotFoundException exception)
      Specified by:
      handle in interface io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.cdc.api.exception.source.CdcSourceNotFoundException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>