ciąg do podwójnego wyjątku Java
try {
a = Double.parseDouble(b);
} catch (NumberFormatException e) {
//the parseDouble failed and you need to handle it here
}
Anwy
try {
a = Double.parseDouble(b);
} catch (NumberFormatException e) {
//the parseDouble failed and you need to handle it here
}