Now uses InvalidStateExceptions instead of InvaliddArgumentException.
Authored by: keess 2002-05-07
Parent: [r38]
Child: [r40]