I have a REST Enspoint
... @GET public Response read (@Valid Param parameters) {
} ...
How can I catch this Exception to handle this in Quarkus? Is there a special Exceptionhandler available?
I have a REST Enspoint
... @GET public Response read (@Valid Param parameters) {
} ...
How can I catch this Exception to handle this in Quarkus? Is there a special Exceptionhandler available?
Copyright © 2021 Jogjafile Inc.
You can handle the exception by using:
You can draw inspiration for how to handle things by looking at the built-in exception mapper.