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