Try and Catch Works the same as Java