List of usage examples for org.springframework.http HttpStatus MULTIPLE_CHOICES
HttpStatus MULTIPLE_CHOICES
To view the source code for org.springframework.http HttpStatus MULTIPLE_CHOICES.
Click Source Link
From source file:org.terasoluna.gfw.functionaltest.app.exceptionhandling.ExceptionHandlingController.java
@ExceptionHandler(MultipleChoicesException.class) @ResponseStatus(HttpStatus.MULTIPLE_CHOICES) public ModelAndView handleException(MultipleChoicesException e) { ExtendedModelMap modelMap = new ExtendedModelMap(); modelMap.addAttribute("exceptionMessage", e.getMessage()); return new ModelAndView("exceptionhandling/exceptionHandler", modelMap); }