Class RoleAssignedExceptionHandler

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>
    handle(io.micronaut.http.HttpRequest request, org.gridgain.internal.rbac.assignments.exception.RoleAssignmentExistsException exception)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RoleAssignedExceptionHandler

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