Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt the documentation for error handling for services regarding Quarkus #477

Closed
GuentherJulian opened this issue Oct 18, 2021 · 0 comments · Fixed by #528
Closed

Adapt the documentation for error handling for services regarding Quarkus #477

GuentherJulian opened this issue Oct 18, 2021 · 0 comments · Fixed by #528
Assignees
Labels
Campus_21_4_quarkus documentation Guides, tutorials, readmes, etc. enhancement New feature or request

Comments

@GuentherJulian
Copy link
Contributor

The guides dealing with handling exceptions need to be adapted regarding Quarkus. The devon4j-rest module provides the RestServiceExceptionFacade for handling exceptions throughout services. There are some guides that mention this approach:

However, we cannot use this for Quarkus. For our reference project we have implemented our own solution which also uses the javax.ws.rs.ext.ExceptionMapper (devonfw-sample/devon4quarkus-reference#24).

The guides should describe a general way to handle exceptions using ExceptionMapper. Then we can link a separate guide for Spring applications using the RestServiceExceptionFacade from the devon4j-rest module.

Links for handling exceptions in the Quarkus documentation:
https://quarkus.io/guides/resteasy-reactive#exception-mapping
https://quarkus.io/specs/jaxrs/2.1/index.html#exceptionmapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Campus_21_4_quarkus documentation Guides, tutorials, readmes, etc. enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants