Fixed incorrect exception name.