Class SinkNotFoundExceptionHandler
java.lang.Object
org.gridgain.internal.rest.cdc.exception.handler.SinkNotFoundExceptionHandler
- All Implemented Interfaces:
io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.cdc.api.exception.sink.CdcSinkNotFoundException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
@Singleton
@Requires(classes={org.gridgain.internal.cdc.api.exception.sink.CdcSinkNotFoundException.class,io.micronaut.http.server.exceptions.ExceptionHandler.class})
public class SinkNotFoundExceptionHandler
extends Object
implements io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.cdc.api.exception.sink.CdcSinkNotFoundException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
Exception handler for
CdcSinkNotFoundException.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>handle(io.micronaut.http.HttpRequest request, org.gridgain.internal.cdc.api.exception.sink.CdcSinkNotFoundException exception)
-
Constructor Details
-
SinkNotFoundExceptionHandler
public SinkNotFoundExceptionHandler()
-
-
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.sink.CdcSinkNotFoundException exception) - Specified by:
handlein interfaceio.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.cdc.api.exception.sink.CdcSinkNotFoundException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
-