@Controller
public class ErrorsController
extends Object
A spring controller for error list viewing and navigation
- Author:
- Daniel Bernstein
-
Constructor Summary
Constructors
-
Method Summary
error404(org.springframework.ui.Model model)
exception(org.springframework.ui.Model model)
testError(org.springframework.ui.Model model)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ErrorsController
public ErrorsController()
-
Method Details
-
get
@RequestMapping("/errors")
public String get()
-
exception
@RequestMapping("/exception")
public String exception(org.springframework.ui.Model model)
-
error404
@RequestMapping("/404")
public String error404(org.springframework.ui.Model model)
-
testError
@RequestMapping("/test-error")
public String testError(org.springframework.ui.Model model)