类型转换异常catch出错求解 急急急。。。
try{
temparature = Double.parseDouble(Tx.getText().toString()) ;
lenth = Double.parseDouble(L.getText().toString());
}catch(NumberFormatException){
// 想在这里处理异常错误
}
错误提示:Syntax error on token "NumberFormatException", VariableDeclaratorId expected after this token
求大神指点。。。