Class ReplicationStartExceptionExceptionHandler

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

@Singleton @Requires(classes={org.gridgain.internal.dcr.exception.ReplicationAlreadyStartedForTableException.class,io.micronaut.http.server.exceptions.ExceptionHandler.class}) public class ReplicationStartExceptionExceptionHandler extends Object implements io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.dcr.exception.ReplicationAlreadyStartedForTableException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
Handles ReplicationAlreadyStartedForTableException and represents it as a rest response.
  • Constructor Details

    • ReplicationStartExceptionExceptionHandler

      public ReplicationStartExceptionExceptionHandler()
  • 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.dcr.exception.ReplicationAlreadyStartedForTableException exception)
      Specified by:
      handle in interface io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.dcr.exception.ReplicationAlreadyStartedForTableException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>