少了个
try{
}catch(AccountDAOSysException e){
}

要不就是在
throw new AccountDAOSysException的方法声明
trows AccountDAOSysException

解决方案 »

  1.   

    try{
    }catch(com.tinger.account.exception.AccountDAOSysException e){
    }
    要求你必须扑获错误
      

  2.   

    请问我这样修改之后,还是出现同样的错误,下面是修改后的代码:
    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);
        }
    }请问是什么原因?
      

  3.   

    public class AccountDAOSysException extends java.lang.Exception throws AccountDAOSysException
    {
    ...
    }别捕捉了。好奇怪的做法,先catch,又throw