Class UserAlreadyExistsExceptionHandler

java.lang.Object
org.gridgain.internal.rest.rbac.user.exception.handler.UserAlreadyExistsExceptionHandler
All Implemented Interfaces:
io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.rbac.users.exception.UserAlreadyExistsException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>

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

    • UserAlreadyExistsExceptionHandler

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