posted 20 years ago
Hi Tim
I think you might want to have separate try .... catch blocks if
you are going to do something in the catch block that allows you to progress to the next step,or you want to display an error message that is specific to the exception thrown and you dont believe you can easily do it in one master catch blockor if the try ... catch block can be thought of as logically separate from the next try catch block
Personally I often have large try ... catch blocks, especially with something like starting RMI and registring the service. I do several steps in the try block, then have multiple catch blocks for each type of exception.
Regards, Andrew
[ August 14, 2003: Message edited by: Andrew Monkhouse ]