首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

【异常解决】Constructs a InvocationTargetEXception with a target exception

2012-09-02 
【错误解决】Constructs a InvocationTargetEXception with a target exception调试程序,遇到:Constructs a

【错误解决】Constructs a InvocationTargetEXception with a target exception

调试程序,遇到:Constructs a InvocationTargetEXception with a target exception

?

在 java.lang.reflect包中的InvocationTargetException.java类中的InvocationTargetException;

?

解释说是系统在创建一个类,在构造函数中就出错;

?

发现:除了构造函数,创建类的实例出错都会报这个错误;

如有一个成员变量:在定义的时候直接new出来,结果有Exception,也报这个错误

热点排行