Class ControllerAdvisor
- java.lang.Object
-
- org.intocps.maestro.webapi.controllers.ControllerAdvisor
-
@ControllerAdvice("org.intocps.maestro.webapi") @Order @RequestMapping(produces="application/vnd.error+json") public class ControllerAdvisor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ControllerAdvisor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<VndErrors>assertionException(java.lang.IllegalArgumentException e)org.springframework.http.ResponseEntity<VndErrors>beanCreationException(org.springframework.beans.factory.BeanCreationException e)org.springframework.http.ResponseEntity<VndErrors>missingRequestParameterException(org.springframework.web.bind.MissingServletRequestParameterException e)org.springframework.http.ResponseEntity<VndErrors>notImplementedException(org.apache.commons.lang3.NotImplementedException e)org.springframework.http.ResponseEntity<VndErrors>runtimeExceptionException(java.io.IOException e)org.springframework.http.ResponseEntity<VndErrors>runtimeExceptionException(java.lang.Exception e)org.springframework.http.ResponseEntity<VndErrors>simulatorNotFoundException(java.lang.Exception e)org.springframework.http.ResponseEntity<VndErrors>unsupportedOperationExceptionException(java.lang.Exception e)
-
-
-
Method Detail
-
missingRequestParameterException
@ExceptionHandler(org.springframework.web.bind.MissingServletRequestParameterException.class) public org.springframework.http.ResponseEntity<VndErrors> missingRequestParameterException(org.springframework.web.bind.MissingServletRequestParameterException e)
-
assertionException
@ExceptionHandler(java.lang.IllegalArgumentException.class) public org.springframework.http.ResponseEntity<VndErrors> assertionException(java.lang.IllegalArgumentException e)
-
simulatorNotFoundException
@ExceptionHandler(SimulatorNotFoundException.class) public org.springframework.http.ResponseEntity<VndErrors> simulatorNotFoundException(java.lang.Exception e)
-
runtimeExceptionException
@ExceptionHandler(java.lang.Exception.class) public org.springframework.http.ResponseEntity<VndErrors> runtimeExceptionException(java.lang.Exception e)
-
runtimeExceptionException
@ExceptionHandler(java.io.IOException.class) public org.springframework.http.ResponseEntity<VndErrors> runtimeExceptionException(java.io.IOException e)
-
unsupportedOperationExceptionException
@ExceptionHandler(java.lang.UnsupportedOperationException.class) public org.springframework.http.ResponseEntity<VndErrors> unsupportedOperationExceptionException(java.lang.Exception e)
-
beanCreationException
@ExceptionHandler(org.springframework.beans.factory.BeanCreationException.class) public org.springframework.http.ResponseEntity<VndErrors> beanCreationException(org.springframework.beans.factory.BeanCreationException e)
-
notImplementedException
@ExceptionHandler(org.apache.commons.lang3.NotImplementedException.class) public org.springframework.http.ResponseEntity<VndErrors> notImplementedException(org.apache.commons.lang3.NotImplementedException e)
-
-