swap try/catch statements