Saving the state of a try-catch-block in a variable is usually an indication that some code should be inside the respective try-catch-block.