It totally depends on what you are trying to achieve. In general, it is best to avoid overuse of try-catch blocks, not least because they are slow. Many try-catch blocks can make your code look dirty and hard to follow.
You need to think about why an exception will be thrown, is this an unforeseen error, an error, or an expected error? If its the expected error, you should try to create code around it without using try-catch.
source share