Without exception handling.
- By Matt Brenner
- September 24, 2001
Lab Notes
Clarifying exception handling
by Matt Brenner
Listing 1. Without exception handling.
1 public static final double
2 todouble (String text)
3 {
4 double val;
5
6
7 val = Double.valueOf (text).doubleValue();
8 return (val);
9 }