Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Detect ignored exception which is not logged #7

Open
KengoTODA opened this issue Jun 8, 2013 · 3 comments
Open

Detect ignored exception which is not logged #7

KengoTODA opened this issue Jun 8, 2013 · 3 comments
Assignees

Comments

@KengoTODA
Copy link
Collaborator

Sometimes we ignore exception without intention. For instance,

before():
try {
  someMethod();
} finally {
  after();
}

If both of someMethod() and after() throws Exception, we will lose exception which is thrown by someMethod(). It will make debug/maintenance difficult.

@ghost ghost assigned KengoTODA Jul 2, 2013
@KengoTODA
Copy link
Collaborator Author

I could not find common name to explain this problem. Maybe 'lost exception' is good word. I will use this.

@KengoTODA
Copy link
Collaborator Author

BTW, currently test-driven-detectors4findbugs does not support Detector2 interface.
We have to solve this problem at first, because we will use CFGDetector to analyze data flow.

@KengoTODA
Copy link
Collaborator Author

My patch has been merged, now test-driven-detectors4findbugs supports Detector2 interface.
I think we can wait new release to use.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant