Use fully qualified exception name in @expectedException annotation.