-
Notifications
You must be signed in to change notification settings - Fork 23
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
Methods in org.jboss.eap.qe.ts.common.docker.Docker
tool mask exceptions
#194
Comments
afaict when any specific exception is thrown then it's not generalized as |
It is a bad for anyone who wants to expand current methods. IDE will not remind him that an exception is thrown by newly added code which he might want to catch. It is also bad for anyone who want to use these methods in his code because using them effectively masks any other exception in code and then it is similar to first case. Using We can use checked exceptions instead. Such as "ContainerStartException" which will be the only exception thrown by the |
Right, |
Almost every method in
org.jboss.eap.qe.ts.common.docker.Docker
hasthrows Exception
in its signature which causes masking of exception and leaves no precise information what kind of exception method is throwing.The text was updated successfully, but these errors were encountered: