求教高手我程序中的这个错误如何解决? 少了个try{}catch(AccountDAOSysException e){}块要不就是在throw new AccountDAOSysException的方法声明trows AccountDAOSysException 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 try{}catch(com.tinger.account.exception.AccountDAOSysException e){}要求你必须扑获错误 请问我这样修改之后,还是出现同样的错误,下面是修改后的代码:try{ .......}catch (AccountDAOSysException ae){ throw new AccountDAOSysException("error!");}下面是我的AccountDAOSysException 类:public class AccountDAOSysException extends java.lang.Exception { public AccountDAOSysException() { super(); } public AccountDAOSysException(String msg) { super(msg); }}请问是什么原因? public class AccountDAOSysException extends java.lang.Exception throws AccountDAOSysException{...}别捕捉了。好奇怪的做法,先catch,又throw 很简单的java问题 谢谢高手们了 SocketChannel 的read() 和write ()方法 static初始化的问题 怎么将BufferedImage对象,转换成Iamge对象以显示?? 在Linux下Java程序输出的重定向 急,JAVA关于打印的问题,用Jakata Poi HSSF处理EXCEL(在线) 请问怎么在java中用反三角函数? 大虾帮忙啊!高分请教,在线等待,立即给分... 怎样,才能得到系统时间? 新手问题,大虾有兴趣请进! 急用!!!救人如救火!!关于JDBC连接不同数据库驱动的问题! 怎样把对类的应用保存在HashTabl中?
}catch(com.tinger.account.exception.AccountDAOSysException e){
}
要求你必须扑获错误
try
{
.......
}
catch (AccountDAOSysException ae)
{
throw new AccountDAOSysException("error!");
}
下面是我的AccountDAOSysException 类:
public class AccountDAOSysException extends java.lang.Exception { public AccountDAOSysException() {
super();
} public AccountDAOSysException(String msg) {
super(msg);
}
}请问是什么原因?
{
...
}别捕捉了。好奇怪的做法,先catch,又throw