Looks right, If that's all the problem stated, then it looks done.
I'd remove the 2 tabs from the try though -- but that's just semantics.