Use throws

http://ideone.com/FanEJu