I'd suggest just Exception, since there could be IOExceptions too.