nant: use the correct exception name