catch (ExceptionType [e]) when (expr). 其中,expr 是可評估為布林值的運算式。 如果它傳回 true ,則會執行例外狀況處理常式;如果 false 則否。
確定! 回上一頁