Removed redundent catch blocks in the resources.