自定义异常抛法

public List<LogRec> readLogs() throws ReadDataException
 {
  try
  {
   return returnLogRec(logFileName);
  }
  catch(Exception e)
  {
   throw new ReadDataException(e);
  }
 }

 

posted @ 2012-04-15 17:48  松门一枝花  阅读(167)  评论(0编辑  收藏  举报