What exception are you expecting? It's usually bad practice to just catch all exceptions.