Should I put multiple statements in a try and then catch all possible exceptions, or should I put only one statement in the try statement?
Example:
The more statements you put, the less specific about the cause of exception you can be potentially.
But of course it depends if the function calls/statements carry overlapped exceptions i.e. if all exceptions can be accounted for in a specific manner, then it is still ok.
In your example, you seem to be having non-overlapped exceptions so your first form is ok.