throw new Exception("MyResource3 Close Exception"); } } ... 因為catch 陳述式裡一次只能補捉一個例外,try 區塊中已經丟出一個例外了,Java 會優先補捉它。
確定! 回上一頁