Catch me if you can - 1

"Hi, Amigo. Here are some interesting tasks that involve catching exceptions."

"Here's a tip: write your program, see what sort of exceptions occur, and then change the code to catch them."