- EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g
- Deepak Vohra
- 103字
- 2021-04-13 17:23:08
Checked exceptions are exceptions that are not a subclass of the java.lang.RuntimeException
. In EJB 2.1, if a bean method performs an operation that results in a checked exception that the bean method cannot recover, the bean method should throw the javax.ejb.EJBException
that wraps the original exception. In EJB 3.0, application exceptions that are checked exceptions may be defined as such by being declared in the throws
clause of the methods of the bean's business interface, home interface, component interface, and web service endpoint. AroundInvoke
methods are allowed to throw checked exceptions that the business methods allow in the throws
clause.
推薦閱讀
- TensorFlow與自然語(yǔ)言處理應(yīng)用
- Photoshop+Camera Raw風(fēng)光、人文、城市、星空攝影后期技法(全彩)
- 云化虛擬現(xiàn)實(shí)技術(shù)與應(yīng)用
- Painter繪畫(huà)實(shí)例教程
- iOS應(yīng)用逆向與安全之道
- 對(duì)比Excel,輕松學(xué)習(xí)SQL數(shù)據(jù)分析
- Entity Framework Tutorial
- 圖像處理基礎(chǔ)教程(Photoshop CS5)(第2版)
- 計(jì)算機(jī)·手機(jī)生活應(yīng)用
- Photoshop+CorelDRAW平面設(shè)計(jì)實(shí)例教程(第4版)
- Elasticsearch實(shí)戰(zhàn)與原理解析
- 新媒體美工一冊(cè)通(全彩)
- 中文版Photoshop CC平面設(shè)計(jì)實(shí)用教程
- 企業(yè)虛擬化實(shí)戰(zhàn):VMware篇
- Magento 1.3 Theme Design