Used full exception names. Fix #3.