previous |
start |
next
Exception Specifications
- Need to tag caller of Coin.read as well
- Stop at main or with handler (see below)
- Can have multiple exception types
public void read()
throws IOException, ClassNotFoundException
- throws specifier not a sign of irresponsible
programming
- Better to declare exception than to handle it
incompetently
previous |
start |
next