Powered by CloudFoundry

Exceptions Demo 2

Controller Advice Exception Handling

Summary

Details

The exceptions below are are not handled by the controller that threw them, but rely on a ControllerAdvice instead.

To fully understand this demo, review the output in the server (console) log as you click the links below.

The behavior of this demo is the same as Demo 1 - just implemented differently.

Demo

Demo 3: Using a Simple Mapping Exception Handler.