Added throws declaration and comments
Added throws declaration
Added parameters to try/catch