源自:http://www.en8848.com.cn/read/proseessay/lz/239065.html 1. Buy someone's coffee. 为他人买杯咖啡 It's just coffee -- no one needs coffee, so this doesn't r...
1.exception.h#ifndef __EXCEPTION_H__#define __EXCEPTION_H__#include #include class Exception : public std::exception{ public: Exception(cons...
分类:
编程语言 时间:
2014-08-01 22:32:52
阅读次数:
321
五个关键字 和两个结构两个结构:1.ThrowableError表示错误Exception异常2.ExceptionRuntimeException(包括其子类)非RuntimeException(Checked异常)5个关键字:try, catch, finally, throws , throw...
分类:
编程语言 时间:
2014-08-01 18:32:32
阅读次数:
251
public class ReflectTest { public static void main(String[] args) throws Exception { ?? ?//config.properties 与当前类在不同包下; ?? ?InputStream is=ReflectTest.class.getResourceAsStream("/co...
分类:
编程语言 时间:
2014-08-01 16:21:42
阅读次数:
210
---------------事务---当执行到commit时 事务才算是完成,不然 会执行rollback操作。
declare
v_money acount.money%type:=1223;
ex exception;
begin
update acount set money=money-v_money where id=1;
raise ex;
update acount ...
分类:
数据库 时间:
2014-08-01 13:39:21
阅读次数:
222
结构: Error类和Exception类都继承自Throwable类。 Error的继承关系: java.lang.Object > java.lang.Throwable > java.lang.Error Exception的继承关系: java.lang.Object > java.lang.Throwable > java.lang...
分类:
编程语言 时间:
2014-08-01 11:03:01
阅读次数:
227
同事解决的,摘抄上来备用。问题描述:在OAF里调用ESB的服务报错如下:Error Page Exception Details. oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpecte...
分类:
其他好文 时间:
2014-08-01 10:37:41
阅读次数:
1404
我们在 EF 的编程中,有时候会遇到这样一个错误: 但是,按照他的提示 “See 'EntityValidationErrors' property for more details.” 去 Exception 中查看,却只能看到 并不能看到具体的是那个属性为什么验证不通过,也许不少人都遇到这种情况...
分类:
其他好文 时间:
2014-07-31 16:51:36
阅读次数:
220
public static void writeToXml(Map map,Writer writer) throws Exception, IllegalStateException, IOException{ XmlSerializer serializer = Xml.newSeriali.....
分类:
移动开发 时间:
2014-07-31 12:45:26
阅读次数:
295
规则1 指定线程名 用于查看线程信息规则2使用Thread对象的setUncaughtExceptionHandler方法注册Runtime异常的处理者(v1.5+)说明:Java多线程程序中,所有线程都不允许抛出未捕获的checked exception,也就是说各个线程需要自己把自己的check...
分类:
编程语言 时间:
2014-07-30 23:26:05
阅读次数:
384