Class ControllerExceptionAdvice
- java.lang.Object
-
- org.jbpm.process.workitem.repositoryspringboot.advice.ControllerExceptionAdvice
-
@ControllerAdvice(annotations=org.springframework.web.bind.annotation.RestController.class) @RequestMapping(produces="application/vnd.error+json") public class ControllerExceptionAdvice extends Object
-
-
Constructor Summary
Constructors Constructor Description ControllerExceptionAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<org.springframework.hateoas.mediatype.vnderrors.VndErrors>assertionException(IllegalArgumentException e)
-
-
-
Method Detail
-
assertionException
@ExceptionHandler(java.lang.IllegalArgumentException.class) public org.springframework.http.ResponseEntity<org.springframework.hateoas.mediatype.vnderrors.VndErrors> assertionException(IllegalArgumentException e)
-
-