parsing try/catch with DB