http://blog.csdn.net/tanga842428/article/details/52751303
1.checkedexception(檢查異常)捕獲或者繼續拋出/unchecked
exception(未檢查異常)==RuntimeException(運行時異常)不要求捕獲或者繼續拋出
2.Java裏面異常分爲兩大類:checkedexception(檢查異常)和unchecked exception(未檢查異常),對於未檢查異常也叫RuntimeException(運行時異常),對於運行時異常,java編譯器不要求你一定要把它捕獲或者一定要繼續拋出,但是對checkedexception(檢查異常)要求你必須要在方法裏面或者捕獲或者繼續拋出。