Historically I have always written my Exception handling code like this:
Cursor cursor = null; try { cursor = db.openCursor(null, null);
The second style is fine as long as neither of the method arguments is a calculated expression that can throw its own exception and needs cleaning up after.