Class IdentityManagementRestExceptionHandler
java.lang.Object
org.activiti.cloud.identity.web.controller.IdentityManagementRestExceptionHandler
@RestControllerAdvice
@Order(-2147483648)
public class IdentityManagementRestExceptionHandler
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAppException(Exception ex, jakarta.servlet.http.HttpServletResponse response) voidhandleAppException(IdentityInvalidApplicationException ex, jakarta.servlet.http.HttpServletResponse response)
-
Constructor Details
-
IdentityManagementRestExceptionHandler
public IdentityManagementRestExceptionHandler()
-
-
Method Details
-
handleAppException
@ExceptionHandler({IdentityInvalidUserRoleException.class,IdentityInvalidUserException.class,IdentityInvalidRoleException.class,IdentityInvalidGroupException.class,IdentityInvalidGroupRoleException.class,IdentityInvalidUserTypeException.class}) @ResponseStatus(BAD_REQUEST) public void handleAppException(Exception ex, jakarta.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
handleAppException
@ExceptionHandler(IdentityInvalidApplicationException.class) @ResponseStatus(NOT_FOUND) public void handleAppException(IdentityInvalidApplicationException ex, jakarta.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-