...ileException.m_cause); } 代码中:若文件创建打开有任何问题,Open函数将在他的最后一个参数中返回 CFileException(文件异常类)对象,TRACE宏将显示出文件名和表示失败原因的代码。使用AfxThrowFileException函数将获得更详细的有关错误的报告。
基于136个网页-相关网页
这个文件必须在类路径中,否则运行代码将产生一个异常。
This file must be in the classpath or running the code will generate an exception.
例如,如果对字节码故意做了更改,或者在通过网络传送类文件时现出了错误,那么就可能发生这个异常。
This could occur if the bytecodes had been deliberately hacked, for example, or if an error had occurred when transferring the class file over a network.
还可以告诉Spring转换数据访问实现类的数据访问异常,只需将清单8中的行添加到Spring的配置文件即可。
You can also tell Spring to translate data access exceptions for data access implementation classes, simply by adding the line in Listing 8 to Spring's configuration file.
应用推荐