WIP:Further refined the example...
authorKai Moritz <kai@juplo.de>
Sun, 27 Sep 2020 17:59:16 +0000 (19:59 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 27 Sep 2020 17:59:19 +0000 (19:59 +0200)
commit2d263a51cb8b7b46cd00288e9b625017bb5d797c
treebb13ade6707c1b70cb1b35dd5df4bb07a0789112
parent046808c74a93691fa31e7cf8517623b7f070febf
WIP:Further refined the example...

* The view renders the question, if no answer is specified (initial request!)
* If a valid request is specified, the answer and the outcome is rendered
* If an invalid request (negative number!) is specified, the view generates
  an exception, because it tries to resolve the Optional anyway
src/main/java/de/juplo/demo/ExampleService.java
src/test/java/de/juplo/demo/ExceptionHandlingApplicationTests.java