To test you can use the following command:
curl -i --header "Accept: application/json" "http://localhost:8080/aerogear-controller-demo/throwException"
To test you can use the following command: