Fix compile erors from checked exception change.