Transactions enable us to delegate many elements of exception handling and recovery to the TPM and the RMs, simplifying our code and freeing us to think about application logic instead.
事务使我们能够将很多异常处理和恢复工作委托给TPM 和RM,从而简化了我们的代码,并使我们能够空出更多时间来考虑应用程序逻辑。
For example, Spring 2.0 introduced the PersistenceExceptionTranslationPostProcessor to automatically enable data access exception translation for any object carrying the @Repository annotation.
比如,Spring2.0引入了PersistenceExceptionTranslationPostProcessor对任何带有@Repository注解的对象自动激活其数据访问异常转换。
An error in processing one of the web service methods (which does not enable the method to finish successfully) is exposed as a SOAP exception that your code can catch.
处理一个网络服务器方法过程中(不能够使方法成功地完成)的某个错误除了能捕获你的代码外显示为SOAP。
By placing exception handling code in your application, you can handle most of the errors users may encounter and enable the application to continue running.
通过在应用程序中放置异常处理代码,可以处理用户可能遇到的大多数错误并使应用程序能够继续运行。
It is likely that the development file has debugging enabled, which if deployed, would enable users to examine the call stack when an exception is thrown.
开发文件很可能已启用调试,如果部署该开发文件,则用户可以在引发异常时检查调用堆栈。
It is likely that the development file has debugging enabled, which if deployed, would enable users to examine the call stack when an exception is thrown.
开发文件很可能已启用调试,如果部署该开发文件,则用户可以在引发异常时检查调用堆栈。
应用推荐