Class RoleAlreadyExistsExceptionHandler

java.lang.Object
org.gridgain.internal.rest.rbac.role.exception.handler.RoleAlreadyExistsExceptionHandler
All Implemented Interfaces:
io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.rbac.roles.exception.RoleAlreadyExistsException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>

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

    • RoleAlreadyExistsExceptionHandler

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