注释:这些异常是针对在运行期间使用JNDI的。
Note: These exceptions are specific to using JNDI at run time.
如何处理运行期间发生的异常?
如果在第二个try语句运行期间抛出异常,那么请注意,result变量被设置为false。
If an exception is thrown during the second try statement, notice that the result variable gets set to false.
应用推荐