public void print(String phrase, int max){
if (phrase == null || max < 0){
throw new IllegalArgumentException("String is null, or max is smaller than 0");
}
}
上面的这个是一个普通的throw new IllegalArgumentException
==========================================================================  public static void main(String[] args) throws FileNotFoundException
这个是定义在method这一行的。
=========================================================================请问这两者有什么区别?定义method这一行的Exception看起来没有什么实质性作用。