thesmallstar edited a comment on pull request #1079:
URL: https://github.com/apache/fineract/pull/1079#issuecomment-647179155
@vorburger @ptuomola
So I will be doing this:
```
try{
//intead of throw new Y();
new X()
throw x.initcause(y);
}catch(x){
//rethrow or do something.
}
```
Problem:
What if Y is coming from some library function like
EmptyResultDataAccessException which comes from JDBCtemplate.queryForObject(),
in that case I could not figure out a way to do this. Can you add anything to
this?(I hope I am making some sense here)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]