Correct syntax for capturing multiple exceptions.

Fixes #529