Class UpgradeCommitExceptionHandler

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

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

    • UpgradeCommitExceptionHandler

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