Package org.molgenis.web.exception
Class GlobalControllerExceptionHandler
- java.lang.Object
-
- org.molgenis.web.exception.GlobalControllerExceptionHandler
-
@ControllerAdvice @Order(-2147483648) public class GlobalControllerExceptionHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description GlobalControllerExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecthandleException(org.molgenis.data.DataAlreadyExistsException e, org.springframework.web.method.HandlerMethod handlerMethod)ObjecthandleException(org.molgenis.data.UnknownDataException e, org.springframework.web.method.HandlerMethod handlerMethod)ObjecthandleException(org.molgenis.i18n.BadRequestException e, org.springframework.web.method.HandlerMethod handlerMethod)ObjecthandleException(org.molgenis.i18n.CodedRuntimeException e, org.springframework.web.method.HandlerMethod handlerMethod)ObjecthandleException(org.molgenis.i18n.ForbiddenException e, org.springframework.web.method.HandlerMethod handlerMethod)ObjecthandlePermissionDeniedException(org.molgenis.data.security.exception.PermissionDeniedException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
-
-
Method Detail
-
handleException
@ExceptionHandler(org.molgenis.data.UnknownDataException.class) public Object handleException(org.molgenis.data.UnknownDataException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
handleException
@ExceptionHandler(org.molgenis.data.DataAlreadyExistsException.class) public Object handleException(org.molgenis.data.DataAlreadyExistsException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
handleException
@ExceptionHandler(org.molgenis.i18n.BadRequestException.class) public Object handleException(org.molgenis.i18n.BadRequestException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
handleException
@ExceptionHandler(org.molgenis.i18n.ForbiddenException.class) public Object handleException(org.molgenis.i18n.ForbiddenException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
handleException
@ExceptionHandler(org.molgenis.i18n.CodedRuntimeException.class) public Object handleException(org.molgenis.i18n.CodedRuntimeException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
handlePermissionDeniedException
@ExceptionHandler public Object handlePermissionDeniedException(org.molgenis.data.security.exception.PermissionDeniedException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
-