ValueError inherits from Exception . You can decide to trap either only ValueError , or Exception , that's what exception inheritance is for ...
確定! 回上一頁