Class UserValidationExceptionHandler
java.lang.Object
org.gridgain.internal.rest.rbac.user.exception.handler.UserValidationExceptionHandler
- All Implemented Interfaces:
io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.rbac.users.exception.UserValidationException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
@Singleton
@Requires(classes={org.gridgain.internal.rbac.users.exception.UserValidationException.class,io.micronaut.http.server.exceptions.ExceptionHandler.class})
public class UserValidationExceptionHandler
extends Object
implements io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.rbac.users.exception.UserValidationException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
REST exception handler for
UserValidationExceptionHandler.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>handle(io.micronaut.http.HttpRequest request, org.gridgain.internal.rbac.users.exception.UserValidationException exception)
-
Constructor Details
-
UserValidationExceptionHandler
public UserValidationExceptionHandler()
-
-
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.UserValidationException exception) - Specified by:
handlein interfaceio.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.rbac.users.exception.UserValidationException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
-