blog-example-code
blog-example-code copied to clipboard
Example code for my blog entries
When parsing the UUID from String you can have a `NumberFormatException` if the user send a malformed id, like as `11111111-1111-1111-1111-111111111111x`. ``` java.lang.NumberFormatException: For input string: "111111111111x" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ```...
dode link
https://github.com/wimdeblauwe/blog-example-code/blob/afe9642a1265d6c0bd782a23c77b0f3e529fc0af/htmx-global-error-handler/src/main/java/com/wimdeblauwe/examples/htmxglobalerrorhandler/GlobalErrorHandler.java#L16 I think this code updated, HtmxResponse.builder() was deprecated