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

(JAVA-W1042) Overly generic exceptions should not be thrown #2735

Open
yurake opened this issue Oct 6, 2022 · 0 comments
Open

(JAVA-W1042) Overly generic exceptions should not be thrown #2735

yurake opened this issue Oct 6, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@yurake
Copy link
Owner

yurake commented Oct 6, 2022

Description

throws clauses should not contain generic exception types such as Throwable, Exception, or RuntimeException. Instead, extend RuntimeException and create more specific exception types which are relevant to your use case.

Occurrences

There are 83 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/yurake/k8s-3tier-webapp/issue/JAVA-W1042/occurrences/

@issuelabeler issuelabeler bot added the java Pull requests that update Java code label Oct 6, 2022
@yurake yurake added the quarkus someone for quarkus label Oct 6, 2022
@yurake yurake added the security vulnerability Security vulnerability detected by WhiteSource label Oct 25, 2022
@github-actions github-actions bot added bug Something isn't working and removed java Pull requests that update Java code security vulnerability Security vulnerability detected by WhiteSource quarkus someone for quarkus labels Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant