Corrected a constructor that used assert instead of check.
Also corrected the throwing of the associated Exception.
Authored by: keess 2008-03-28
Parent: [r1912]
Child: [r1914]