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