Exception:異常層次結構的父類ArithmeticException:算術錯誤
inputmismatchException:輸入類型不匹配ArrayindexoutofboundsException:數組小標越界
nullpointerException:空指針異常classnotfoundException:不能加載所需類checked異常
illegalArgumentException:方法接收到非法參數classcastException:對象強制類型轉換出錯
numberformatException:數字格式轉換異常