try catch in package