generically catch all exceptions