简体   繁体   中英

Is it possiible to throw checked exception from spring-aop?

(Spring AOP):我知道这不是...常见的做法,但是有可能从建议中引发检查异常吗?

Yes, it is possible.

AOP methods are like any other method and can throw checked and unchecked exception.

PS: I just tried to confirm.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM