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

with a @Transactional annotation and custom Exception, no report a bug #441

Open
tonglei100 opened this issue Apr 19, 2023 · 0 comments
Open

Comments

@tonglei100
Copy link

tonglei100 commented Apr 19, 2023

rule key:fb-contrib:JPAI_NON_SPECIFIED_TRANSACTION_EXCEPTION_HANDLING

this code is not report a bug, with custom Exception:NoMsgException, BizException

@Transactional
public void  orderSubmit(String userCode,List<CbOrderRsVO> waitingCallNextStepList) throws NoMsgException, BizException {...}

this code will report a bug, with Exception

@Transactional
public void  orderSubmit(String userCode,List<CbOrderRsVO> waitingCallNextStepList) throws Exception {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants